网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
若有说明:char w; int x; float y; double z; 则表达式w*x+y-z的值的数据类型是()。
- A、double
- B、char
- C、int
- D、float
参考答案
更多 “若有说明:char w; int x; float y; double z; 则表达式w*x+y-z的值的数据类型是()。A、doubleB、charC、intD、float” 相关考题
考题
若有以下说明和定义语句,则变量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
考题
自定义类型转换是由按优先关系从低级数据转换为高级数据,优先次序为( )。A.char-int long-folat-doubleB.int-Iong-float-double-charC.long-float-int-double-charD.以上都不对
考题
C语言中各种基本数据类型的存储空间长度排列为( )A.char≤long≤int≤float≤doubleB.double≤float≤long≤int≤charC.char≤int≤long≤float≤doubleD.float≤int≤long≤char≤double
考题
若有以下定义: 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
考题
自动类型转换规定的优先次序是( )。A.short,byte,char→long→int→float→doubleB.short,byte,char→int→long―float→doubleC.byte,short,char→long→int→float→doubleD.byte,short,char→int→long→float→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
考题
基本数据类型精度从低到高排列正确的是()A.byte short int float doubleB.byte short int double floatC. short byte int float doubleD. short byte int double float
考题
在C语言中(以16为PC机为例),5种基本数据类型的存储空间长度的排列顺序为()。A、char int long int = float doubleB、char = int long int = float doubleC、char int long int = float = doubleD、char = int = long int = float double
考题
单选题假设有函数模板定义如下: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
热门标签
最新试卷