#include #include //for EXIT_SUCCESS, size_t using namespace std; int main() { int i {10}; int v1 {i}; //v1 holds a copy of the value of i. int *p1 {&i}; //p1 holds the address of i. size_t s1 {sizeof i}; //s1 holds the number of bytes in i. cout << "The value of i is " << v1 << "\n"; cout << "The address of i is " << p1 << "\n"; cout << "The number of bytes in i is " << s1 << "\n\n"; double d {3.14159}; double v2 {d}; //v2 holds a copy of the value of d. double *p2 {&d}; //p2 holds the address of d. size_t s2 {sizeof d}; //s2 holds the number of bytes in d. cout << "The value of d is " << v2 << "\n"; cout << "The address of d is " << p2 << "\n"; cout << "The number of bytes in d is " << s2 << "\n"; return EXIT_SUCCESS; }