#include<bits/stdc++.h>
using namespace std;
int main()
{
int a=39;
int b=39;
cout<<a<<endl<<b<<endl;
a++;
++b;
cout<<"one year later...."<<endl;
cout<<"a="<<a<<endl<<"b="<<b<<endl;//前缀先取值再运算,后缀先运算再取值;
cout<<"one year later again..."<<endl;
cout<<"a++="<<a++<<" "<<"++b= "<<++b;
return 0;
}
标签:39,cout,int,自增前,++,2023,14 From: https://www.cnblogs.com/djcf/p/17320023.html