C Programming :: Declarations and Initializations - Discussion
36 / 54
A declaration "short int" is used for variables
AWhich have a short duratioin a program
BWhich have short names
Cwhich may require less storage than normal integers
DNone of these
Show Explanation
int -2,147,483,648 to 2,147,483,648
short -32,768 to 32,767
Clearly, the range of normal int is far greater than short, hence short int is used for variables which may require less storage than normal integers.
Asked In ::
Data Type Value Range
int -2,147,483,648 to 2,147,483,648
short -32,768 to 32,767
Clearly, the range of normal int is far greater than short, hence short int is used for variables which may require less storage than normal integers.
Read Full Answer
Report Error
Please Login First Click Here