#include "iostream.h"
#include "AFX.H"
struct NUM{
int number;
char mdn[1][12];
};
void DoA(char*buf)
{
NUM* buf2=(NUM*)buf;
cout<<buf2->number<<endl;
cout<<buf2->mdn[1]<<endl;
cout<<buf2->mdn[2]<<endl;
}
void main()
{
int size=110*sizeof(char)+sizeof(int);
char* buf=new char[size];
NUM* strnum=(NUM*)buf;
memcpy(strnum->mdn[1],"1348501",12);
memcpy(strnum->mdn[2],"15905163795",12);
strnum->number=2;
DoA(buf);
cout<<size<<endl;
}