What will be the value of x in the following C++ program
#include<iostream>
using namespace std;
int main()
{
int a=1;
int x=(a++)++;
cout<<x<<endl;
return 0;
}

Posted on by