Hi . i m new in c++ programming..plz help me in sorting out this problem.....
HOW THE VALUE OF "j" VARIES IN FOLLOWING PROBLEMS ? Plz Explain...
1. int i=10,j;
j= (i++) + (i++);
cout<<j;
2. int i=10,j;
j= (i++) + (++i);
cout<<j;
3. int i=10,j;
j= (++i) + (i++);
cout<<j;
4. int i=10,j;
j= (++i) + (++i);
cout<<j;