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