下面各项声明中合法的是( )。 Ⅰ:long1=4990; Ⅱ:int i=4L; Ⅲ:floatf=1.1; Ⅳ:double d=34;A.Ⅱ、ⅢB.Ⅱ、Ⅲ、ⅣC.Ⅰ、ⅣD.Ⅲ、Ⅳ

下面各项声明中合法的是( )。 Ⅰ:long1=4990; Ⅱ:int i=4L; Ⅲ:floatf=1.1; Ⅳ:double d=34;

A.Ⅱ、Ⅲ

B.Ⅱ、Ⅲ、Ⅳ

C.Ⅰ、Ⅳ

D.Ⅲ、Ⅳ


相关考题:

若有以下函数首部int fun(double x[10], int *n)则下面针对此函数的函数声明语句中正确的是A)int fun(double x, int *n);B)int fun(double , int );C)int fun(double *x, int n);D)int fun(double *, int *);

下面各选项中正确的是( )。 Ⅰ:long l=4990 Ⅱ:int i=4L Ⅲ:float f=1.1 Ⅳ:double d=34A.Ⅱ、ⅢB.Ⅱ、Ⅲ、ⅣC.Ⅰ、ⅣD.Ⅲ、Ⅳ

Whichofthefollowingstatementsarelegal?() A.longl=4990;B.inti=4L;C.floatf=1.1;D.doubled=34.4;E.doublet=0.9F;

下面各选项中正确的是( )。 Ⅰ: long 1 = 4990 Ⅱ: int i = 4L Ⅲ: float f=1.1 Ⅳ: double d=4A.Ⅱ、ⅢB.Ⅱ、Ⅲ、ⅣC.Ⅰ、ⅣD.Ⅲ、 Ⅳ

设有定义:char c;float f;int i;unsignedu;double d;下列各表达式的类型分别是()1.u+92.d!=f&&(i+2)3.8.2*i+c A.1.unsigned,2.int,3.doubleB.1.double,2.double,3.doubleC.1.int,2.double,3.charD.1.unsigned,2.double,3.int

下面各项声明中合法的是( )。 Ⅰ:long l=4990; Ⅱ:int i=4L; Ⅲ:float f=1.1; Ⅳ:double d=4;A.Ⅱ、ⅢB.Ⅱ、Ⅲ、ⅣC.Ⅰ、ⅣD.Ⅲ、Ⅳ

若主函数有变量定义:int x=1 ; double y=2.3 ; 且有合法的函数调用语句f (y , x); 则下列关于函数f的原型声明中一定错误的是 。A.void f(double, int);B.int f(int , int);C.int f(double, double);D.void f(double, int, int);

24、下面的哪些声明是合法的?A.long n = 499B.int i = 4LC.float f = 1.1D.double d = 2.3

下面的哪些声明是合法的?A.long n = 499B.int i = 4LC.float f = 1.1D.double d = 2.3