题目内容

The called function can only be defined before the main() function.

查看答案
更多问题

Pointer variables can also point to a string.

#includeint f(int x,int y) { return ((y-x)*x); } main() { int a=3,b=4,c=5,d; d=f(f(a,b),f(a,c)); printf("%d\n",d); } The output of the program is ( ).

A. 10
B. 9
C. 8
D. 7

int x[5]; You can use the array name to output all elements of a numeric array, e.g. printf("%s",x);

#includemain() { char *s={"ABC"}; do { printf("%d",*s%10); s++; } while(*s); } The ASCII value of the letter A is 65. The output of the program is ( ).

A. 5670
B. 656667
C. 567
D. ABC

答案查题题库