若有float f=2.6f;short s=20;则表达式f+s的值的类型是()。A.floatB.shortC.intD.byte

若有float f=2.6f;short s=20;则表达式f+s的值的类型是()。

A.float

B.short

C.int

D.byte


相关考题:

若有以下定义:char a;int b;float c; double d;则表达式a*b+d-c值的类型为【12】 。

设变量a是int型,f是float型,i是double型,则表达式10+′a′+i*f值的数据类型为A.intB.floatC.doubleD.不确定

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

设变量a是int型,f是float型,i是double型,则表达式10+'a'+i*f的值的数据类型为( )。A.intB.floatC.doubleD.不确定

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

设变量a是int型,f是double型,i是float型,则表达式10+'a'+i * f值的数据类型是A.intB.floatC.doubleD.不确定

若有以下定义char a;int b;float c;double d;则表达式a*b+d-c值的类型为

若有以下定义: 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

若有定义语句:“int a=10;double b=3.14;”,则表达式A+a+b值的类型是( )。A.charB.intC.doubleD.float

设有定义nit a:float f; double int i,则表达式10+'a'+i+f值的数据类型是( )A.intB.floatC.doubleD.不确定

有如下定义 int a; float f; double i; 则表达式4+‘a’+i*f的值的数据类型是 ______。A.intB.floatC.doubleD.不确定

设变量a是int型,f是float型,i是double型,则表达式10+′a′+i*f值的数据类型为A.int B.float C.double D.不确定

若有以下定义: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=3.14f;byte b=3;则表达式a+b的值的数据类型为( )。A.byteB.intC.charD.float

若有byte b=6;char c='c';则表达式b+c的值的类型是()。A.intB.byteC.charD.float

若有byte b=6;short s=20;则表达式b+s的值的类型是()。A.byteB.intC.shortD.char

以下代码中变量result的可能类型有哪些?byte b = 11;short s = 13;result = b * ++s; A.byte, short, int, long, float, doubleB.boolean, byte, short, char, int, long, float, doubleC.byte, short, char, int, long, float, doubleD.byte, short, charE.int, long, float, double

试题14若有定义语句:int a=10; double b=3.14; , 则表达式‘A’+a +b值的类型是()A.charB.intC.doubleD.float

若有说明:char w; int x; float y; double z; 则表达式w*x+y-z的值的数据类型是()。A、doubleB、charC、intD、float

假定变量x,f和d的类型分别为int 、float和double。下面表达式的值总是为1的是()A、x==(int)(float)xB、d==(double)(float)dC、f==(float)(double)fD、(f+d)-f==d

若有charc=’8’;shorts=20;则表达式c+s的值的类型是()A、charB、shortC、intD、byte

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

若有byteb=6;charc=’c’;则表达式b+c的值的类型是()A、intB、byteC、charD、float

设变量a是整型,f是实型,i是双精度型,则表达式10+’a’+i*f值的数据类型为()。A、不确定B、doubleC、intD、float

若有floatf=2.6f;shorts=20;则表达式f+s的值的类型是()A、floatB、shortC、intD、byte

单选题假定变量x,f和d的类型分别为int 、float和double。下面表达式的值总是为1的是()Ax==(int)(float)xBd==(double)(float)dCf==(float)(double)fD(f+d)-f==d

单选题若有说明:char w; int x; float y; double z; 则表达式w*x+y-z的值的数据类型是()。AdoubleBcharCintDfloat