Multiple choice technology security

What is the value of j (size of integer is 4 bytes)? int i=987987987; int j= i*10;

  1. 1289945278

  2. garbage. Integer j cannot hold such large values

  3. 9879879870

  4. Program is aborted

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

i=987987987 (0x3ADE9DE3). i*10=9879879870, which exceeds 32-bit signed int range. Wraparound: 9879879870 mod 2^32 = 1289945278 (0x4CE9641E). This is integer overflow; result is truncated, not garbage or abort. The value wraps modulo 2^32.