题目内容

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

下列程序段执行后s值为__。int i=5, s=0;while(i--)if (i%2) continue;else s+=i;

答案查题题库