#include <cstdio>
#include <iostream>
using namespace std;
int main()
{
int a = 6;
int c = a++;
cout << a << ' ' << c << endl;//c为原来a的值,先执行c=a,再进行a+1
int b = 8;
int d = ++b;
cout << b << ' ' << d << endl;//d等于b+1过后的值,且先执行的是b+1
//b +=a;b=b + a;
//b -=a;b=b - a;
//b *=a;b=b * a;
//b /=a;b=b / a;
return 0;
}