题目内容

There are the following procedures: #include int main(void) { int a=1,b=2,m=0,n=0,k; k=(n=b>a)||(m=a

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

查看答案
更多问题

The illegal expression in the following options is ( )

A. 0<=x<100
B. i=j==0
C. (char)(65+3)
D. x+1=x+1

If the variables are correctly defined and assigned, the following legal C language assignment statement is( ).

A. x=y==5;
B. x=n%2.5;
C. x+n=i;
D. x=5=4+1;

If the variable is defined and assigned correctly, the following correct expression is ( )

A. x=y*5=x+z
B. int(15.8%5)
C. x=y+z+5,++y
D. x=25%5.0

There are the following procedures, where the initial value of k is an octal number. int main(void) { int k=011; printf("%d\n",k++); return 0; } The output of the program after running is ( ).

A. 12
B. 11
C. 10
D. 9

答案查题题库