设有定义:char c;float f;int i;unsignedu;double d;下列各表达式的类型分别是()1.u+92.d!=f&&(i+2)3.8.2*i+c
第1题:
若有以下定义: char a: int b; float c; double d; 则表达式a*b+d c的值的类型为 ______。
A.float
B.int
C.char
D.double
第2题:
设变量a是 int 型,f是 double 型,i是 float 型,则表达式10+'a'+i*f值的数据类型
A.int
B.float
C.double
D.不确定
第3题:
若有以下定义char a;int b;float c;double d;则表达式a*b+d-c值的类型为
第4题:
设变量a是int型,f是int型,i是double型,则表达式10+a+i*f值的数据类型为A.int B.float C.double D.不确定
第5题:
设有定义nit a:float f; double int i,则表达式10+'a'+i+f值的数据类型是( )
A.int
B.float
C.double
D.不确定
第6题:
有如下定义 int a; float f; double i; 则表达式4+‘a’+i*f的值的数据类型是 ______。
A.int
B.float
C.double
D.不确定
第7题:
设变量a是int型,f是float型,i是double型,则表达式10+′a′+i*f值的数据类型为A.int B.float C.double D.不确定
第8题:
设有以下变量定义,并已赋确定的值: char w; int x; float y; double z; 则表达式:w*x+z-y所求得的数据类型为( )。
A.char
B.int
C.float
D.double
第9题:
设有说明:char w;int x;float y;double z;则表达式w*x+z-y 值的数据类型为().
第10题:
变量x、f、d分别为int,float,double类型的,除了f和d不能等于无穷大和NAN以外值可以任意选取,下面表达式为真的是()
第11题:
x==(int)(double)x
x==(int)(float)x
d==(double)(float)d
(f+d)-f==d
第12题:
x==(int)(float)x
d==(double)(float)d
f==(float)(double)f
(f+d)-f==d
第13题:
设变量a是int型,f是float型,i是double型,则表达式10+'a'+i*f的值的数据类型为( )。
A.int
B.float
C.double
D.不确定
第14题:
若有以下定义:char a;int b;float c;double d;则表达式“a*b+d-c”值的类型为( )。
A.float
B.int
C.char
D.double
第15题:
现有定义int a;double b;float c;char k;,则表达式a/b+c-k值的类型为
A.int
B.double
C.float
D.char
第16题:
若有以下定义: char a;int b; float c;double d; 则表达式a*b+b-c值的类型为( )。
A. float
B.int
C.char
D.double
第17题:
下面的函数原型非法的是 ______。
A.void f(int a=1,int b=1)
B.int f(double f,char s,int i=1,int j)
C.void f(int a, int b)
D.int f(double f,char s,int i=1,int j=0)
第18题:
A.1.unsigned,2.int,3.double
B.1.double,2.double,3.double
C.1.int,2.double,3.char
D.1.unsigned,2.double,3.int
第19题:
设有定义int a=1;float f=1.2;char C=a;,则下列表示错误的是( )。
A.++a;
B.f一一;
C.c++;
D.8++;
第20题:
若有以下定义:
char a;int b;
float c;double d;
则表达式a*b+d-c值的类型为( )。
A.A. float
B.int
C.char
D.double
第21题:
switch(表达式)语句中的“表达式”,允许的类型是()。
第22题:
假定变量x,f和d的类型分别为int 、float和double。下面表达式的值总是为1的是()
第23题:
1.unsigned,2.int,3.double
1.double,2.double,3.double
1.int,2.double,3.char
1.unsigned,2.double,3.int