题目内容

%s of scanf function is used to enter a character.

查看答案
更多问题

The conditional expression of an if statement must be a relational expression.

There is the following program: #include main() { int a=1,b=0; printf("%d,",b=a+b); printf("%d\n",a=2*b); } The output of program running is ( )

A. 0,0
B. 1,0
C. 3,2
D. 1,2

If there is a definition: int a, b;, through the statement scanf ("%d;% d", &a, &b);, the input data that can assign integer 3 to variable a and 5 to variable b is ( ).

A. 3 5
B. 3, 5
C. 3;5
D. 35

If statement contains one or more if statements called if statement nesting.

答案查题题库