Question: 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
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
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
