double
char
int
float
第1题:
若有以下类型说明语句: char w;int x;float y, z; 则表达式w*x+z-y的结果为______类型。
A.float
B.char
C.int
D.double
第2题:
若有定义语句:int x=3,y=2,z=1;则表达式x <y?x:y的值是______。
第3题:
若有以下说明和定义语句,则变量w在内存中所占的字节数是 【19】 。
union aa {float x; float y; char c[6]; };
struct st{ union aa v; float w[5]; double ave; } w;
第4题:
若有以下定义char a;int b;float c;double d;则表达式a*b+d-c值的类型为
第5题:
若有以下定义: char a: int b; float c; double d; 则表达式a*b+d c的值的类型为 ______。
A.float
B.int
C.char
D.double
第6题:
设有如下的变量定义:
double x=4.700000;float y=2.5f;int z=7;
则执行表达式“y+z%3* (int) (x+y)%2/4”后的值是【 】。
第7题:
A.Float
B.char
C.int
D.double
第8题:
若有以下定义:
char a;int b;
float c; double d;
则表达式a*b+d-c值的类型为【12】 。
第9题:
若有以下类型说明语句: char w;int x;flooat y,z; 则表达式w*x+z-y的结果为______类型。
A.float
B.char
C.int
D.double
第10题:
设有说明:charw;intx;f1oaty;doublez;则表达式w*x+z-y值的数据类型为()。
A.float
B.char
C.int
D.double