#include #include using namespace std; int main() { int i = 10; cout << "The value of i is " << i << ".\n" << "The address of i is " << &i << ".\n" << "The size in bytes of i is " << sizeof i << ".\n\n"; int *p = &i; //Let the value of p be the address of i. cout << "The value of i is " << *p << ".\n" << "The address of i is " << p << ".\n" << "The size in bytes of i is " << sizeof *p << ".\n\n" << "The value of p is " << p << ".\n" << "The address of p is " << &p << ".\n" << "The size in bytes of p is " << sizeof p << ".\n"; return EXIT_SUCCESS; }