Q:

What is the ouput of the following code?int main() { int a=10 cout<<a++ return 0 }

0

What is the ouput of the following code?

int main() { int a=10; cout<<a++; return 0; }

  1. 10
  2. 11
  3. 0
  4. Error

All Answers

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

Correct Answer:

10

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

total answers (1)

Similar questions


need a help?


find thousands of online teachers now