#include using namespace std; int main() { int * ptr1, *ptr2; // two pointers to int double * dptr; // a pointer to double int* list[50]; /// array of 50 pointers cout << "The value of ptr1 = " << ptr1 << '\n'; cout << "The value of ptr2 = " << ptr2 << '\n'; cout << "The value of dptr = " << dptr << '\n'; // DANGEROUS! We are de-referencing uninitialized pointers cout << "*ptr1 = " << *ptr1 << '\n'; cout << "*ptr2 = " << *ptr2 << '\n'; cout << "*dptr = " << *dptr << '\n'; for (int i = 0; i < 50; i++) { cout << "The value of list[" << i << "]= " << list[i] << '\n'; cout << "*list[" << i << "] = " << *list[i] << '\n'; } return 0; }