// address.cpp -- using the & operator to find addresses
#include <iostream>
int main()
{
    using namespace std;

    double cups = 4.5;
    int donuts = 6;

    // printing out value of donuts, and address (using &)
    cout << "donuts value = " << donuts << " " << sizeof donuts;
    cout << " and donuts address = " << &donuts << endl;

    // printing out value of donuts, and address (using &)
    cout << "cups value = " << cups << " " << sizeof cups;
    cout << " and cups address = " << &cups << endl;
}
