下面各项声明中合法的是( )。 Ⅰ:long1=4990; Ⅱ:int i=4L; Ⅲ:floatf=1.1; Ⅳ:double d=34;
A.Ⅱ、Ⅲ
B.Ⅱ、Ⅲ、Ⅳ
C.Ⅰ、Ⅳ
D.Ⅲ、Ⅳ
第1题:
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
第2题:
若主函数有变量定义: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);
第3题:
下面的哪些声明是合法的?
A.long n = 499
B.int i = 4L
C.float f = 1.1
D.double d = 2.3
第4题:
下面各项声明中合法的是( )。 Ⅰ:long l=4990; Ⅱ:int i=4L; Ⅲ:float f=1.1; Ⅳ:double d=4;
A.Ⅱ、Ⅲ
B.Ⅱ、Ⅲ、Ⅳ
C.Ⅰ、Ⅳ
D.Ⅲ、Ⅳ
第5题:
24、下面的哪些声明是合法的?
A.long n = 499
B.int i = 4L
C.float f = 1.1
D.double d = 2.3