What is the output of each of the following?
Assume the following declarations:
char *Kel_ptr;
char **Kel_ptr2;
char ***Kel_ptr3;
1. Kel_ptr = 47;
cout << *Kel_ptr;
Kel_ptr = 40;
cout << *Kel_ptr;
Kel_ptr = 29;
cout << *Kel_ptr;
Kel_ptr = 70;
cout << *Kel_ptr;
Kel_ptr = 54;
cout << *Kel_ptr;
cout << &var1;
2. Kel_ptr = 35;
cout << *Kel_ptr;
Kel_ptr = 70;
cout << *Kel_ptr;
Kel_ptr = 23;
cout << *Kel_ptr;
Kel_ptr = 01;
cout << *Kel_ptr;
Kel_ptr = 14;
cout << *Kel_ptr;
Kel_ptr = 20;
cout << *Kel_ptr;
Kel_ptr = 70;
cout << *Kel_ptr;
Kel_ptr = 55;
cout << *Kel_ptr;
cout << &var20;
cout << &var5;
cout << &var63;
3. Kel_ptr2 = 43;
Kel_ptr = 37;
Kel_ptr2 = &Kel_ptr;
cout << **Kel_ptr2;
Kel_ptr = 05;
cout << *Kel_ptr;
Kel_ptr3 = 59;
Kel_ptr2 = 16;
Kel_ptr = 12;
Kel_ptr2 = &Kel_ptr;
Kel_ptr3 = &Kel_ptr2;
cout << ***Kel_ptr3;
Kel_ptr = 66;
cout << *Kel_ptr;
Kel_ptr = 19;
cout << *Kel_ptr;
Kel_ptr = 70;
cout << *Kel_ptr;
Kel_ptr = 03;
cout << *Kel_ptr;
Kel_ptr = 18;
cout << *Kel_ptr;
Kel_ptr = 01;
cout << *Kel_ptr;
Kel_ptr = 26;
Kel_ptr2 = &Kel_ptr;
cout << **Kel_ptr2;
Kel_ptr = 25;
cout << *Kel_ptr;