网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
设有说明:char w;int x;float y;double z;则表达式w*x+z-y 值的数据类型为().
- A、float
- B、char
- C、int
- D、double
参考答案
更多 “设有说明:char w;int x;float y;double z;则表达式w*x+z-y 值的数据类型为().A、floatB、charC、intD、double” 相关考题
考题
若有以下说明和定义语句,则变量w在内存中所占的字节数是 【19】 。union aa {float x; float y; char c[6]; };struct st{ union aa v; float w[5]; double ave; } w;
考题
若有以下定义: char a: int b; float c; double d; 则表达式a*b+d c的值的类型为 ______。A.floatB.intC.charD.double
考题
C语言中各种基本数据类型的存储空间长度排列为( )A.char≤long≤int≤float≤doubleB.double≤float≤long≤int≤charC.char≤int≤long≤float≤doubleD.float≤int≤long≤char≤double
考题
Java语言中数据类型之间的自动类型转换是由优先关系从低级数据类型转换成高级数据类型,下面选项中自动类型转换优先级由低到高排列正确的是A.char→long→int→double→floatB.char→int→long→double→floatC.char→int→long→float→doubleD.char→int→float→double→long
考题
若有以下定义: char a;int b; float c;double d; 则表达式a*b+b-c值的类型为( )。A. floatSX
若有以下定义: char a;int b; float c;double d; 则表达式a*b+b-c值的类型为( )。A. floatB.intC.charD.double
考题
设有以下变量定义,并已赋确定的值: char w; int x; float y; double z; 则表达式:w*x+z-y所求得的数据类型为( )。A.charB.intC.floatD.double
考题
若有以下定义:char a;int b;float c;double d;则表达式a*b+d-c值的类型为( )。A.A. float SXB
若有以下定义:char a;int b;float c;double d;则表达式a*b+d-c值的类型为( )。A.A. floatB.intC.charD.double
考题
设x为float型变量,y为double型变量,a为int型变量,b为long型变量, c为char型变量,则表达式x+y*a/x+b/y+c的值为()类型。A、intB、longC、doubleD、char
考题
单选题假设有函数模板定义如下:templateMax(T a,T b,Tc){c=a+b;}下列选项正确的是()A
)int x,y;char z;Max(x,y,z);B
)double x,y,z;Max(x,y,z);C
)int x,y;float z;Max(x,y,z);D
)float x;double y,z;Max(x,y,z);
考题
单选题若有说明:char w; int x; float y; double z; 则表达式w*x+y-z的值的数据类型是()。A
doubleB
charC
intD
float
热门标签
最新试卷