[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

C Programming :: Declarations and Initializations - Discussion

Home > C Programming > Declarations and Initializations > MCQs Questions Discussion

36 / 54

Choose the correct option.

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

Answer: Option (Login/Signup)

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 ::

Post Your Answer Here:     

Reply    
Rate This: +0 -0
    Report


Report Error

Please Login First Click Here