下面的赋值语句中错误的是( )
A: float f=11.1;
B: double d=3.3e2;
C: double d=3.23;
D: double d=3.21d;
A: float f=11.1;
B: double d=3.3e2;
C: double d=3.23;
D: double d=3.21d;
举一反三
- 3、下面的赋值语句( )不对的。 A: float f = 11.1; B: double d = 5.3E12; C: double d = 3.14159; D: double d = 3.14D;
- Which of the following assignment is not correct A: double f = 11.1; B: double d = 5.3E12; C: double d = 3.14159; D: float d = 3.14.
- Which of the following assignment is not correct?() A: float f = 11.1; B: double d = 5.3E12; C: double d = 3.14159; D: double d = 3.14;.
- 下列函数声明语句正确的是? A: double f(a,b); B: double f(double a, b); C: double f(a, double b); D: double f(double, double);
- 下面哪个赋值语句是非法的()。 A: float a = 2.0 B: double b = 2.0 C: int c = 2 D: long d = 2