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;
}
β
Correct Answer: (D)
111011
int main()
{
int a=10;
int b,c;
b = a++;
c = a;
cout<<a<<b<<c;
return 0;
}
You must be Logged in to update hint/solution