#include int main() { double lY = 6.67; double lZ = 7.8; double *lPtr = 0; cout << "&lY: " << &lY << " &lZ: " << &lZ << " lPtr:" << lPtr << endl << endl; cout << "lPtr = &lY" << endl; lPtr = &lY; cout << "lY: " << lY << " lZ: " << lZ << " *lPtr: " << *lPtr << endl; cout << "&lY: " << &lY << " &lZ: " << &lZ << " lPtr:" << lPtr << endl<< endl; cout << "*lPtr = 5.45" << endl; *lPtr = 5.45; cout << "lY: " << lY << " lZ: " << lZ << " *lPtr: " << *lPtr << endl<< endl; cout << "lPtr = &lZ" << endl; lPtr = &lZ; cout << "&lY: " << &lY << " &lZ: " << &lZ << " lPtr:" << lPtr << endl<< endl; cout << "*lPtr = 3.1415" << endl; *lPtr = 3.1415; cout << "lY: " << lY << " lZ: " << lZ << " *lPtr: " << *lPtr << endl << endl; cout << "lZ = 999" << endl; lZ = 999; cout << "lY: " << lY << " lZ: " << lZ << " *lPtr: " << *lPtr << endl; return 0; }