下列字符序列中,可用作C标识符的一组字符序列是()。
A. S.b,sum,average,_above
B. class,day,lotus_1,2day
C.
D. md,&12x,month,student_n!
E. D56,r_1_2,name,_st_1
查看答案
C语言程序中必须有的函数是()。
A.
B. include "stdio.h"
C. main
D. printf
E. scanf
下列变量中合法的是
A. B.C.Tom
B. 3a6b
C. _6a7b
D. $ABC
对于以下递归函数f,调用f(4),其返回值为() 。int f(int n){if (n) return f(n - 1) + n;else return n;}
A. 10
B. 4
C. 0
D. 以上均不是
If all variables have been defined and declared in the following program, all the variables which can be used in function fun() are __.void fun(int x){static int y;……return;}int z;void main( ){int a,b;fun(a);……}
A. x,y
B. x,y,z
C. a,b,y,z
D. a,b,x,y,z