++ --
#include<iostream> using namespace std; int main() { int i, *p= &i; i=5; cout<<i<<endl; //5 //cout<<p<<endl; 0012FF44 //cout<<*p++<<endl; 答案5 //cout<<*(p++)<<endl; 答案5 //cout<<(*p)++<<endl; 答案5 //cout<<((*p)++)<<endl; 答案5 //cout<<i<<endl; 6 6 6 6 6 //cout<<++*p<<endl; 6 //cout<<(++(*p))<<endl; 6 //cout<<p<<endl; 0012FF44 0012FF44 return 0; }