高级语言程序设计
历年真题
7.设int x=7,*p=&x;,表达式的值为7的是
8.设float x,y,z;,函数调用语句fun(z,((x,y),x+z));中参数的个数是
9.设int a[]={1,2,3,4,5};i=2;,其值为4的数组元素是
10.下列叙述正确的是
11.设char str[10]=″Computer″;,执行printf(″%d\n″, sizeof(str));,后输出结果是
12.定义数组并初始化正确的是
13、设char s[20]=“World”,t[20]=“Asia”; strcat(t,s);printf(“%s,%d\n”,t,strlen(t));执行下列语句后的输出结果是()
14、设typedef int ARRAY[10];则与ARRAY a,b,c;等价的是()
15.表示“回车换行”的转义字符是
16.执行语句printf(″%d\n″,4&5||6);后的输出结果是_________。
«
1
2
3
4
5
6
7
8
...
77
78
»