#include #include //for EXIT_SUCCESS, size_t using namespace std; int main() { int i {10}; int *p {&i}; //p holds the address of i. //In other words, p "points to" i. cout << "The value of i is " << i << "\n"; cout << "The address of i is " << &i << "\n"; cout << "The address of i is " << p << "\n"; //If you want to make sure that p does not hold the address of anything, p = nullptr; return EXIT_SUCCESS; }