According to the declaration "int a=5,_b=6,_c=7,_m=2,_n=2;", what is the value of "n" after the expression "(m=a>b)&&(n=b>c)" is executed? ( )
查看答案
According to the declaration "double x[5]={1,_2},_*p=x;", which one is incorrect reference to an array element? ( )
A. *p
B. x[5]
C. *(p+1)
D. *x
According to the declaration "int x=10;", what is the value of the expression "x-=x+x"?( )
A. 10
B. 20
C. 0
D. -10
What is the value of "i" after the following program segment is executed ?( ) int i; for(i=0; i<10; i=++) if (i<5) break;
A. 1
B. 0
C. 5
D. 10
Which one of the following declarations of array "x" is correct? ( )
A. #define N 10 int x[N];
B. int N=10; int x[N];
C. int x[0…10];
D. int x[ ];