What will be the error in the following C code?
main()
{
long float a=-25.373e22;
printf("%lf",a);
}
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

Join The Discussion