A

Admin • 833K Points
Coach

Q. What is output of below program?

Code:
int main()
{
const int a=10;
a++;
cout<<a;
return 0;

}
  • (A) 10
  • (B) 11
  • (C) Compilation Error
  • (D) Run time error
  • Correct Answer - Option(C)
  • Views: 17
  • Filed under category C++
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.