C Programming - Declarations and Initializations - Discussion

Discussion Forum : Declarations and Initializations - True / False Questions (Q.No. 1)
1.
A long double can be used if range of a double is not enough to accommodate a real number.
True
False
Answer: Option
Explanation:

True, we can use long double; if double range is not enough.

double = 8 bytes.
long double = 10 bytes.

Discussion:
5 comments Page 1 of 1.

Prince said:   2 years ago
Anyone, explain the full meaning of GCC.

Sohom said:   3 years ago
A long double is 10 bytes for 16 bit machine.

Keerthana said:   3 years ago
What is the full form of gcc?

Arjun Mayilvaganan said:   7 years ago
sizeof(long double) as per the given online C Compiler it is 12 bytes.

RSM said:   7 years ago
double is 8 bytes

long double is 16 bytes, both in GCC and DOS.

Post your comments here:

Your comments will be displayed after verification.