If there is a definition statement in the function: int k; then ( )
A. The system will automatically assign an initial value of 0 to k
B. At this time, the value of k is uncertain
C. The system will automatically assign an initial value of -1 to k
D. There is no value in k
查看答案
The wrong description is ( )
A. User defined identifiers allow to use keywords
B. The user-defined identifier should try to "see the name and know the meaning"
C. User defined identifiers must begin with a letter or underline
D. In user-defined identifiers, upper and lower case letters represent different identifiers
#includemain() { char c1,c2; c1='A'+'8'-'4'; c2='A'+'8'-'5'; printf("%c,%d\n",c1,c2); } It is known that the ASCII code of letter A is 65, and the output of the program is ( )
A. E,68
B. D,69
C. E,D
D. Output has no fixed value
#includemain () {int a=1,b=2; while (a<6) {b+=a; a+=2; b%=10;} printf("%d,%d\n",a,b); } the output of the program is ( )
A. 5,11
B. 7,1
C. 7,11
D. 6,1
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