#include <iostream>
using namespace std;
int main() {
struct A {
char char_;
int int_;
short short_;
};
struct B {
int int_;
char char_;
short short_;
};
A a;
cout << "&(a.char_) of A is " << static_cast<void *>(&(a.char_)) << endl;
cout << "&(a.int_) of A is " << &(a.int_) << endl;
cout << "&(a.short_) of A is " << &(a.short_) << endl;
cout << "sizeof(A) = " << sizeof(A) << endl;
B b;
cout << "&(b.int_) of B is " << &(b.int_) << endl;
cout << "&(b.char_) of B is " << static_cast<void *>(&(b.char_)) << endl;
cout << "&(b.short_) of B is " << &(b.short_) << endl;
cout << "sizeof(B) = " << sizeof(B) << endl;
}