Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
C Programming
»
Declarations and Initializations
Size of short integer and long integer would vary from one platform to another.
True
Correct Answer:
True
Explanation:
True, Depending on the operating system/compiler/system architecture you are working on, the range of data types can vary.
← Previous Question
Next Question→
More Questions from
Declarations and Initializations
Range of float id -2.25e+308 to 2.25e+308
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