Vidyalelo
C Programming · Q60

C Miscellaneous

Programming · C Programming · question 60

Q60

What will be the error in the following C code? main() long float a=-25.373e22; printf("%lf",a);

A.
Negative number cannot be assigned to float data type
B.
Long and float cannot be used together
Answer
C.
Does not result in error
D.
Logical error

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board