#include <iostream>
using namespace std;
int main(void){
int a=0,b=0,c=2,d=0,e=2,f=2;
cout << a << " " << a++ << " " << endl; //1,0
cout << ++b <<" " << b++ << " " << endl;//2,0
cout << c << " " << (c++)+(++c) << " " << endl;//4,6
cout << (d=f++)+(e=f) << endl;//4
cout << f << " " << d << " " << e << endl;//3,2,2
return 0;
} |