Q:

Guess the output int main() { int a = 5; int b = 10; { int a = 2; a++; b++; } printf("%d %d", a, b); return 0; }

0

Guess the output

int main() { int a = 5; int b = 10; { int a = 2; a++; b++; } printf("%d %d", a, b); return 0; }


  1. 6,11
  2. 11 6
  3. 6 10
  4. 5 11

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Correct Answer:

5 11

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

C Programming Multiple Choice Questions And Answers

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Which of the following is not a data types... >>
<< enum types are processed by...