Multiple choice

The maximum value that an integer constant can have is

  1. 32767

  2. � 32767

  3. 1.7014e+38

  4. �1.7014e+38

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

A 16-bit signed integer uses one bit for sign, leaving 15 bits for magnitude. The maximum value is 2^15 - 1 = 32767. This is a standard limit in older C implementations with 16-bit ints.