// show the use of & as the address operator
// show the use of sizeof operator which gives the number of bytes a variable takes up in memory.

#include <iostream>
using namespace std;

int main()
{

  int number;
  short shortnum;
  long longnum;
  float amount;

  cout << "size of int number is: " << sizeof(number) << endl;
  cout << "the address of number is: " << &number << endl;
  cout << "size	of short num is: " << sizeof(shortnum) << endl;
  cout << "the address of num is: " << &shortnum << endl;
  cout << "size	of long longnum is: " << sizeof(longnum) << endl;
  cout << "the address of longnum is: " << &longnum << endl;
  cout << "size	of float amount is: " << sizeof(amount) << endl;
  cout << "the address of amount is: " << &amount << endl;

  //questions:  sizeof each variable
 //  where is each variable stored in memory




  return 0;
}
