Discussion Forum : C Fundamentals
Question - For 16-bit compiler allowable range for integer constants is ________?
Options:
A .  -3.4e38 to 3.4e38
B .  -32767 to 32768
C .  -32668 to 32667
D .  -32768 to 32767
Answer: Option D
In a 16 Bit C compiler we have 2 bytes to store an integer, and 1 byte for a character.
For unsigned integers the range is 0 to 65535.
For signed integers the range is -32768 to 32767.
For unsigned character, 0 to 255

Was this answer helpful ?
Next Question
Submit Your Solution hear:

Your email address will not be published. Required fields are marked *