Key words. (What words appear several times? List 5 more.)judge :
查看答案
若有定义“int a[5], *p=a;”,则对数组元素的正确引用是()。
A. *&a[5]
B. a+2
C. *(p+5)
D. *(a+2)
下面程序的运行结果是()。#includevoid main(){char a[]="language",*p;p=a;while(*p!='u'){printf("%c",*p-32) ;p++;}}
A. LANGUAGE
B. language
C. LANG
D. langUAGE
以下程序执行结果是()。#includevoid main(){int a[3][3],*p,i;p=&a[0][0];for(i=0;i<9;i++)p[i]=i;for(i=0;i<3;i++)printf("%d ",a[1][i]);}
A. 0 1 2
B. 1 2 3
C. 2 3 4
D. 3 4 5
以下程序执行结果是()。#include#includevoid main(){char s1[10],*s2="ab\0cdef";strcpy(s1,s2);printf("%s",s1);}
A. ab\0cdef
B. abcdef
C. ab
D. 以上答案都不对