What will be the error in the following C code?
Posted: Wed Jul 13, 2022 7:56 pm
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
{
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