Multiple choice

By which values are t and c initialized to print - 25536 and - 20536, respectively? void main() { int t=__,c=__; printf(%d %d,t,c); }

  1. 41000, 46000

  2. 40000, 46000

  3. 41000, 50000

  4. 40000, 45000

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

The range of int is - 32768 to + 32767. 40000 is exceeding + 32767 by 7233 and 45000 exceeding + 32767 by 12233. So, 7233th and 12233th integers from the other side of range is - 25536 and - 20536.