题目内容

The following options are legal integers for C language ( ).

A. 10110B
B. s0386
C. 0Xffa
D. x2a2

查看答案
更多问题

The constant expressions of each case in the switch statement must have different values.

The loop body in a loop statement is allowed to contain more than one statement, which can not appear as a compound statement.

It is known that the ASCII code value of letter A is 65. If the variable kk is of char type. The following expression that does not correctly determine that the value of kk is an uppercase letter is ( ).

A. kk>='A' && kk<='Z'
B. !(kk>='A' ‖ kk<='Z')
C. (kk+32)>='a' &&(kk+32)<='z'
D. isalpha(kk)&&(kk<91)

#includemain() { int a=1, b=2; for(;a<8;a++) {b+=a; a+=2; } printf("%d,%d\n",a,b); }The output of the program is ( ).

A. 9,18
B. 8,11
C. 7,11
D. 10,14

答案查题题库