#include <iostream>
using namespace std;

int main()
{
  int i = 11, j = 22;
  double d = 3.3, e = 4.4;

                          // pointer variables that:
  int * iPtr, * jPtr;     //    store addresses of ints
  double * dPtr, * ePtr;  //    store addresses of doubles

  iPtr = &i;              // value of iPtr is address of i
  jPtr = &j;              // value of jPtr is address of j

  dPtr = &d;              // value of dPtr is address of d
  ePtr = &e;              // value of ePtr is address of e

  cout << "&i = " << iPtr << endl
       << "&j = " << jPtr << endl
       << "&d = " << dPtr << endl
       << "&e = " << ePtr << endl;
}
