题目内容

If there are the following definitions:int a[10], *p=a;,Then p+5 represents ( ).

A. The address of element a[5]
B. The value of element a[5]
C. The address of element a[6]
D. The value of element a[6]

查看答案
更多问题

The running result of the following program is ( ). int main(void) { char *s1="AbDeG"; char *s2="AbdEg"; s1+=2; s2+=2; printf("%d\n",strcmp(s1,s2)); return 0; }

A. Positive number
B. negative number
C. 0
D. Uncertain value

The following function is defined. fun (int *p) {return * p;} The return value of this function is ( ).

A. Uncertain value
B. The value stored in p
C. The value in the storage unit referred to by p
D. Address value of p

After the C language source program file is compiled and connected, a file with suffix. exe is generated.

C language source program, its file name suffix is. C

答案查题题库