题目内容

#includemain () {int a=1,b=2; while (a<6) {b+=a; a+=2; b%=10; } printf(“%d,%d\n”,a,b); } The output of the program is ( ).

A. 5,11
B. 7,1
C. 7,11
D. 6,1

查看答案
更多问题

C language integer constant has only one decimal representation.

A character constant is a character enclosed in double quotation marks.

If there is a definition statement in the function: int k; ( )

A. The system will automatically assign an initial value of 0 to k
B. At this time, the value of k is uncertain
C. The system will automatically assign an initial value of -1 to k
D. There is no value in k

switch statement is a multi branch selection statement.

答案查题题库