A

Admin • 833K Points
Coach

Q. What is output of below program?

Code:
int main()
{
int a=10;
int b,c;
b = a++;
c = a;
cout<<a<<b<<c;
return 0;
}
  • (A) 101010
  • (B) 101011
  • (C) 111111
  • (D) 111011
  • Correct Answer - Option(D)
  • Views: 26
  • 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.