题目内容

The output of the following program is______ int main(void) { int x=20; printf("%d",0

查看答案
更多问题

main() { int a; char c=10; float f=100.0; double x; a=f/=c*=(x=6.5); printf(“%d %d %3.1f %3.lf\n",a,c,f,x); } The output of the program is ( )

A. 1 65 1 6.5
B. 1 65 1.5 6.5
C. l 65 1.0 6.5
D. 2 65 1.5 6.5

The value of the expression is ( ):(int)((double)9/2)-(9)%2

A. 2
B. 3
C. 4
D. 5

If there is a definition statement:int x=10; Then the value of the expression x-=x+x is ( )

A. -20
B. -10
C. 10

There is a definition:int x=2; In the following expression whose value is not 6 is ( )

A. x*=x+1
B. x++,2*x
C. x*=(1+x)
D. 2*x,x+=2

答案查题题库