已知char a;int b;float C;double d;则表达式a-b c-d结果为( )型。
A)double
B)float
C)int
D)char
第1题:
已知程序中已经定义了函数test,其原型是int test(int,int,int);,则下列重载形式中正确的是
A.char test (int,int,int);
B.double test(int,int,double);
C.int test(int,int,int=O);
D.float test(int,int,float=3.5F);
第2题:
已知char a;int b;float c;double d;则表达式a*b+c-d结果为
A.double
B.int
C.float
D.char
第3题:
若有以下定义:
char a;int b;
float c; double d;
则表达式a*b+d-c值的类型为【12】 。
第4题:
若有以下定义char a;int b;float c;double d;则表达式a*b+d-c值的类型为
第5题:
若有以下定义: char a: int b; float c; double d; 则表达式a*b+d c的值的类型为 ______。
A.float
B.int
C.char
D.double
第6题:
( 21 )已知函数 fun 的原型为
int fun ( int,int,int ) ;
下列重载函数原型中错误的是
A ) char fun ( int,int ) ;
B ) double fun ( int,int,double ) ;
C ) int fun ( int,char* ) ;
D ) float fun ( int, int, int ) ;
第7题:
A.Float
B.char
C.int
D.double
第8题:
已知:char a;int b;float c;double d;执行语句“c=a+b+c+d;”后,变量c的数据类型是( )。A.int B.char C.float D.double
第9题:
C语言中各种基本数据类型的存储空间长度排列为( )
A.char≤long≤int≤float≤double
B.double≤float≤long≤int≤char
C.char≤int≤long≤float≤double
D.float≤int≤long≤char≤double
第10题:
自动类型转换是按优先关系从低级数据转换成高级数据,规定的优先次序是( )。
A.byte, short, char→int→long→float→double
B.float→int→long→byte, short, char→double
C.int→long→float→double→byte, short, char
D.double→int→float→long→byte, short, char