C Programming - Declarations and Initializations - Discussion

Discussion Forum : Declarations and Initializations - True / False Questions (Q.No. 7)
7.
Range of float id -2.25e+308 to 2.25e+308
True
False
Answer: Option
Explanation:

False, The range of float is -3.4e+38 to 3.4e+38.

Discussion:
6 comments Page 1 of 1.

Keemo said:   1 decade ago
I don't understand this number -3.4e-38.

Shameem said:   1 decade ago
I don't understand the range! what does this "e" mean?

Sujay said:   1 decade ago
Range of float is (-3.4e+38 to 3.4e+38) OR (3.4e-38 to 3.4e+38)?

Sravani said:   1 decade ago
Float range -3.4e38 to 3.4e38.

Mohammed El Refai said:   9 years ago
The float is 4 byte. So, by assuming platform is 16-bit, 2^(4*16) = 18446744073709551616
answer/2 = 9223372036854775808.
So, how it will be 3.4e38?

Prasanna said:   6 years ago
3.4e+38 means 3.4*10^38.

After e if it is '-' then we will write as;
3.4*10^-38.

Post your comments here:

Your comments will be displayed after verification.