#include <iostream>
#include <iomanip>
#include <cmath>

using namespace std;

int main(void){
	int a = 3;
	int *p = &a;
	cout << p << endl;
	p++;
	cout << p << endl;
	char c = 'A';
	char *m = &c;
	cout << "Size of m =" << sizeof(m) << endl;
	cout << static_cast<int>(*m) <<endl;
	cout << (int)(*m) << endl; // cast the value of c as an 
	cout << reinterpret_cast<int*>(m);
	cout << (int *)m << endl;  // pointer reinterpetation
	return 0;
}
