int n; float f; cout << "Enter an integer and a float: "; cin >> n >> f; cout << "The integer is: " << n << endl; cout << "The float is: " << f << endl;If the user types 3.7 at the prompt, the program will output:
float x = 7; float y = 11; Point p(3,2); p.setX(y); p.print();What is the output of this program?
Point p; Point *ppt, *qpt; ppt = &p; qpt = ppt; qpt->setX(10); p.print();What is the output of this program?