Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
C Programming
»
Declarations and Initializations
Range of float id -2.25e+308 to 2.25e+308
True
Correct Answer:
False
Explanation:
False, The range of
float
is -3.4e+38 to 3.4e+38.
← Previous Question
Next Question→
More Questions from
Declarations and Initializations
A long double can be used if range of a double is not enough to accommodate a real number.
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