题目内容

int a=2,b=4,x=1,y=2; After executing the expression(x=a>b) && (y=b>a),the value of x is ______

查看答案
更多问题

The function of the break statement is to terminate the execution of the entire loop where the break is located.

Only the first and third expressions can be omitted from the three expressions in for loop statement.

int main(void) {int y=10; while (y--); printf("y=%d\n",y); return 0 ; } The output of the program is ( ).

A. y=0
B. y=-1
C. y=1
D. while forms an infinite loop

%d of the printf function is used to output signed decimal integers.

答案查题题库