#include
using namespace std;
struct mystruct
{
char *name;
int age;
char *sex;
char *address;
};
main()
{
int i;
mystruct s1;
char x[10]={NULL};
char y[10]={NULL};
char z[20]={NULL};
cout <
while ((cin.get()!="\n")&&(i<10))
{
cin >> x[i];
i++;
}
cout <
while ((cin.get()!="\n")&&(i<10))
{
cin >> y[i];
i++;
}
cout <
while ((cin.get()!="\n")&&(i<20))
{
cin >> z[i];
i++;
}
cout <
cin >> s1.age;
cout <
cout <
s1.name=x;
s1.