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

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

设有说明: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” 相关考题
考题 定义int a; float f; double i; 表达式 15+i*f+ˊAˊ的值是 _______ 。 A.floatB. intC. charD. double

考题 若有以下说明和定义语句,则变量w在内存中所占的字节数是 【19】 。union aa {float x; float y; char c[6]; };struct st{ union aa v; float w[5]; double ave; } w;

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

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

考题 若有以下类型说明语句:chara;intb;floatc;doubled;则表达式a*b-2*d+c的结果类型为() A.floatB.charC.intD.double

考题 设有说明:charm;intx;floaty;doublez;则表达式m*x+z-y值的数据类型为float。() 此题为判断题(对,错)。

考题 若有以下类型说明语句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

考题 C语言中各种基本数据类型的存储空间长度排列为( )A.char≤long≤int≤float≤doubleB.double≤float≤long≤int≤charC.char≤int≤long≤float≤doubleD.float≤int≤long≤char≤double

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

考题 有如下定义:float a=1.0f;double b=2.0;则表达式a+b的值的数据类型为()。A.floatB.doubleC.charD.int

考题 若有以下类型说明语句: 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+y-z的值的数据类型是()。A、doubleB、charC、intD、float

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

考题 设x为float型变量,y为double型变量,a为int型变量,b为long型变量, c为char型变量,则表达式x+y*a/x+b/y+c的值为()类型。A、intB、longC、doubleD、char

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