Multiple choice

What will be the output of the following code snippet in C language? Assume that all preprocessor directives are correct. main() {
int a=11;
clrscr(); a++ +=10;
printf("%d",a); getch(); }

  1. 22

  2. 23

  3. 12

  4. Compilation error: Lvalue required in function main

  5. Compilation error: Rvalue required

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

The program code will give an error while compilation.