/*
 * Michael Gousie
 * COMP 121 Fall 2026
 *
 * addresses.cpp
 * 
 * Show what addresses look like using C++
 */

#include<iostream>

using namespace std;

int main() {
   int myray [10];

   cout << "Size of int        : " << sizeof (myray[0]) << endl;
   cout << "Address of myray   : " << &myray << endl;
   cout << "Address of myray[0]: " << &myray[0] << endl;
   cout << "Address of myray[1]: " << &myray[1] << endl;

   return 0;
}

