Home » C Programming » Data Types » Question
  1. Which data type is most suitable for storing a number 65000 in a 32-bit system?
    1. long
    2. int
    3. signed short
    4. unsigned short
    5. None of these
Correct Option: D

65000 comes in the range of short (16-bit) which occupies the least memory. Signed short ranges from -32768 to 32767 and hence we should use unsigned short.



Your comments will be displayed only after manual approval.