Examveda
Examveda

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

C. Does not result in error

D. Logical error

Answer: Option B


This Question Belongs to C Program >> C Miscellaneous

Join The Discussion

Related Questions on C Miscellaneous