#include #include using namespace std; int main() { int i {10}; int *p1 {&i}; cout << "The size in bytes of i is " << sizeof i << ".\n"; cout << p1 << "\n"; //Looks like we're adding 1 to p, but we're really adding 4 to p. ++p1; cout << p1 << "\n\n"; double d {3.14159}; double *p2 {&d}; cout << "The size in bytes of d is " << sizeof d << ".\n"; cout << p2 << "\n"; //Looks like we're adding 1 to p, but we're really adding 8 to p. ++p2; cout << p2 << "\n"; return EXIT_SUCCESS; }