intmain(void) { //cout<<endl<<"The size of the struct NoMember is: "<<sizeof(NoMember)<<endl; cout<<endl<<"The size of the struct NoMember1 is: "<<sizeof(NoMember1)<<endl;
intmain(void) { //cout<<endl<<"The size of the struct NoMember is: "<<sizeof(NoMember)<<endl; //cout<<endl<<"The size of the struct NoMember1 is: "<<sizeof(NoMember1)<<endl; cout<<endl<<"The size of the struct NoMember2 is: "<<sizeof(NoMember2)<<endl;
cout<<endl<<"The size of the struct NoMember is: "<<sizeof(NoMember)<<endl; cout<<"The address of the struct of NoMember: 0x"<<&nm0<<endl;
cout<<endl<<"The size of the struct NoMember1 is: "<<sizeof(NoMember1)<<endl; cout<<"The address of the struct of NoMember: 0x"<<&nm1.mA<<endl;
cout<<endl<<"The size of the struct NoMember2 is: "<<sizeof(NoMember2)<<endl; cout<<"The address of the struct of NoMember: 0x"<<&nm2.mA<<"\t0x"<<&nm2.mA<<endl;
cout<<endl<<"The size of the struct NoMember is: "<<sizeof(NoMember)<<endl; cout<<"The address of the struct of NoMember: 0x"<<&nm0<<endl;
cout<<endl<<"The size of the struct NoMember1 is: "<<sizeof(NoMember1)<<endl; cout<<"The address of the struct of NoMember: 0x"<<&nm1.mA<<endl;
cout<<endl<<"The size of the struct NoMember2 is: "<<sizeof(NoMember2)<<endl; cout<<"The address of the struct of NoMember: 0x"<<&nm2.mA<<"\t0x"<<&nm2.mA<<endl;