网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

若有说明: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值的类型为【12】 。

考题 若有以下类型说明语句: char w;int x;float y, z; 则表达式w*x+z-y的结果为______类型。A.floatB.charC.intD.double

考题 已知char a;int b;float c;double d;则表达式a*b+c-d结果为A.doubleB.intC.floatD.char

考题 设有如下的变量定义:double x=4.700000;float y=2.5f;int z=7;则执行表达式“y+z%3* (int) (x+y)%2/4”后的值是【 】。

考题 若有以下类型说明语句char a; int b; float c; double d; 则表达式a*bd-c的结果类型为( )。 A.FloatB.charC.intD.double

考题 若有以下定义: char a: int b; float c; double d; 则表达式a*b+d c的值的类型为 ______。A.floatB.intC.charD.double

考题 若有以下类型说明语句: char w;int x;flooat y,z; 则表达式w*x+z-y的结果为______类型。A.floatB.charC.intD.double

考题 若有以下定义: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+d-c值的类型为

考题 设有说明:charw;intx;f1oaty;doublez;则表达式w*x+z-y值的数据类型为()。A.floatB.charC.intD.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

考题 若有以下类型说明语句: charw;intx;floaty,Z; 则表达式w*x+z-y的结果为_______类型。A.floatB.charC.intD.double

考题 已知char a;int b;float C;double d;则表达式a-b c-d结果为( )型。A)doubleB)floatC)intD)char

考题 设有说明:char w;int x;float y;double z;则表达式w*x+z-y 值的数据类型为().A、floatB、charC、intD、double

考题 switch(表达式)语句中的“表达式”,允许的类型是()。A、float,intB、float,int,charC、int,charD、char,double

考题 如果定义有double,x;float,y;int,m,则表达式x*y-m的类型为()A、doubleB、floatC、intD、short

考题 在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

考题 设有说明:charw;intx;floaty;doublez;则表达式w*x+z-y值的数据类型为()。A、floatB、charC、intD、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