Multiple choice

void main() { volatile int a=12; printf("%d", a); }

  1. Can not predict

  2. 12

  3. Garbage value

  4. Compiler error

  5. Semantics error

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

You can not predict the value of volatile variable because its value can be changed by any microprocessor interrupt.