Q. Which is the first line to trigger a compiler error?
Code:
double d1 = 5f; // p1 double d2 = 5.0; // p2 float f1 = 5f; // p3 float f2 = 5.0; // p4
β
Correct Answer: (D)
p4
double d1 = 5f; // p1 double d2 = 5.0; // p2 float f1 = 5f; // p3 float f2 = 5.0; // p4
You must be Logged in to update hint/solution