Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
C Programming
»
Declarations and Initializations
A long double can be used if range of a double is not enough to accommodate a real number.
True
Correct Answer:
True
Explanation:
True, we can use
long double
; if
double
range is not enough.
double
= 8 bytes.
long double
= 10 bytes.
← Previous Question
Next Question→
More Questions from
Declarations and Initializations
Range of double is -1.7e-38 to 1.7e+38 (in 16 bit platform - Turbo C under DOS)
A float is 4 bytes wide, whereas a double is 8 bytes wide.
Size of short integer and long integer can be verified using the sizeof() operator.
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment
Join Discussion
Discussion & Comments