Multiple choice general knowledge science & technology

size of integer?

  1. 2

  2. depends on OS

  3. depends on system Architecture

  4. 4

  5. depends on compiler

Reveal answer Fill a bubble to check yourself
B,C,E Correct answer
Explanation

Integer size is not fixed in C - it depends on multiple factors. Different operating systems can use different sizes (32-bit vs 64-bit systems). System architecture (16-bit, 32-bit, 64-bit) directly affects integer size. Different compilers may choose different sizes based on target platform. Therefore options B, C, and E are all correct.