#include <iostream>
using namespace std;
typedef struct _st_point
{
int x;
int y;
}st_point,*p_st;
int main()
{
p_st p;
p=new st_point;
int x=p->x=0;
cout << x << endl;
delete p;
return 0;
}
#include <iostream>
using namespace std;
typedef struct _st_point
{
int x;
int y;
}st_point,*p_st;
int main()
{
p_st p;
p=new st_point;
int x=p->x=0;
cout << x << endl;
delete p;
return 0;
}