下列程序的输出结果为( ) main() { int a[5]={2,4,5,6,10},*p; p=a...答:24 你的源程序是错误的,因为p没有区分大小写。建议你分行输出,这样有效果。include<stdio.h> main(){ int a[5]={2,4,5,6,10},*p;p=a;printf("%d\n",*(p++));printf("%d\n",*p);}
以下程序段的输出结果是___。 int i; char s[3][4]={"ABC","答:"%c",s[i][i]);输出格式是 %c, 所以输出 s[0][0],s[1][1],s[2][2];char s[3][4]={"ABC","BCA","CAB"};s[0] 是 "ABC", s[0][0] 是 'A's[1] 是 "BCA", s[1][1] 是 'C's[2] 是 "CAB", s[2][2] 是 'B'所以输出 ACB 选 答案C ...