A
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;
}
{
int a=10;
int b,c;
b = a++;
c = a;
cout<<a<<b<<c;
return 0;
}
- Correct Answer - Option(D)
- Views: 26
- Filed under category C++
- Hashtags:
Discusssion
Login to discuss.