这个为什么会错呢?????
#include <iostream>using namespace std;
int main()
{
int n,*p;
int m[5];
m[5]={1,10,20,30,40};
p=m;
n=(*p)++;
cout<<"******"<<n<<"******"<<endl;
n=++(*p);
cout<<"******"<<n<<"******"<<endl;
return 0;
}
2011-09-25 16:49