The following C language expression that does not correctly represent the algebraic expression 2ab/(cd) is ( )
A. 2*a*b/c/d
B. a*b/c/d*2
C. a/c/d*b*2
D. 2*a*b/c*d
查看答案
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 is a definition:int k=0;Of the four expressions for the following options, the value that differs from the other three expressions is ( )
A. k++
B. k+=1
C. ++k
D. k+1
The output of the following program is ______ void main() { char *s1,*s2,m; s1=s2=(char*)malloc(sizeof(char)); *s1=15; *s2=20; m=*s1+*s2; printf("%d\n",m); }
If there are the following statements: typedef struct S {int g; char h; }T; In the following description, the correct is ( )
A. Structure variables can be defined by S
B. Structure variables can be defined by T
C. S is a variable of type struct
D. T is a variable of type struct S