The range of short int data type in ‘C’ is __________.
2025
The range of short int data type in ‘C’ is __________.
Answer: A. – 32768 to + 32767 — In C, the short int data type is typically 16 bits wide. By default, it is signed, meaning its range is from -32768 to +32767.
- A.
– 32768 to + 32767
- B.
00000 to + 65535
- C.
– 32768 to 0
- D.
– 65535 to + 65535
Attempted by 1258 students.
Show answer & explanation
Correct answer: A
In C, the short int data type is typically 16 bits wide. By default, it is signed, meaning its range is from -32768 to +32767.
Loading lesson…