题目内容

Which one is keyword? ( )

A. swicth
B. character
C. Default
D. case

查看答案
更多问题

n is an int variable. Which statement do not change the value of variable n? ( )

A. n=getchar();
B. n>0?n++:n--;
C. printf("%d", n+2);
D. n += 2;

#include main() { int i=3; switch ( ) { case 1: i*=1; case 2: i*=2; case 3: i*=3; default : i*=4; } printf("i=%d\n",i); }

A. (=36)

Three basic structures of C language program are ( ).

A. Sequential structure, selection structure, loop structure
B. Recursive structure, selection structure, loop structure
C. Nested structure, recursive structure, sequential structure
D. Nested structure, selection structure, loop structure

The default storage class for formal parameters is ( ).

A. auto
B. register
C. static
D. extern

答案查题题库