Find the output of the following program.

main()
{
 int a = 10, b, c;
 b = a++; 
 c = a; 
cout << a << " " <<b <<" "<< c << endl; 
}

A. 10 11 11

B. 11 11 11

C. 11 10 11

D. 10 10 10

Ans : c 




Posted on by