#include<iostream>
using namespace std;

int main(void){
       int a[2]={1,2};
       int *p;

       cout << "Size of pointer=" << sizeof(int *) <<endl;
       cout<< "Size of int=" << sizeof(int)<<endl;
       cout<< "Size of long int=" << sizeof(long int)<<endl;
       cout<< "Size of short int =" << sizeof(short int) << endl;
       cout<< "Size of byte=" << sizeof(uint8_t) << endl;
      for (int i=0;i<2;i++){
          cout<<"address=" << &a[i]<< "Value="<<a[i]<<endl;
       } 
       p=&a[0];
       cout << "p=" << p<< "Value p=" << *p<<endl;
        
       return 0; 
       }
