#include<iostream>
using namespace std;
class base
{
private:
int m;
public:
base(){};
base(int a):m(a){}
int get(){return m;}
void set(int a){m=a;}
};
void main()
{
base*ptr=new base[2];
ptr->set(30);
ptr=______________;
ptr->set(50);
base a[2]={1,9};
cout<<a[0].get()<<","<<a[1].get()<<endl;
cout<<ptr->get()<<",";
ptr=ptr-1;
cout<<______________<<endl;
delete[]ptr;
}
第1空:PTR+1;
第2空:PTR->GET( )