本文介绍了为什么C程序中的输出不同的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 限时删除!! #include < stdio.h > #include < conio.h > void main() { clrscr(); char a [ 3 ] = lk; printf( %c,a [ 3 ]); getch(); } 而不是将lk作为输出,我得到输出为埃(A ^ 0)。我不明白我是怎么得到的。请帮帮我。谢谢。 [由Jochen Arndt编辑:添加代码格式] 解决方案 #include<stdio.h>#include<conio.h>void main(){ clrscr(); char a[3]="lk"; printf("%c",a[3]); getch();}Instead of getting lk as output, I get the output as angstrom(A^0). I don't understand how I get this.Please help me. Thanks.[Edit by Jochen Arndt: Added code formatting] 解决方案 这篇关于为什么C程序中的输出不同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 1403页,肝出来的..
09-06 22:39