#include <iostream>
#include <iomanip>
#include <cmath>
using namespace std;
// int a[10]; <- stack allocation or static allocation, size 8megabytes, here we are a bit more free
//
// int *a; <- heap allocation or dynamic allocation,here we must be carefull with the commands given
// a=new int[10];
//
int main(void) {
	int a=3;
	int *p=&a;
	cout << p << endl;
	p++;
	cout << p <<endl;
	char c='A';
	char *m=&c;
	cout << "Size=" << sizeof(m) <<endl;
	cout << static_cast<int>(*m) <<endl;
	cout << (int*)m <<endl;
	
return 0;
}
