Question: a) Given the program segment below: int main () { string food = Pizza; string* ptr = & food; / /line 2 cout

a) Given the program segment below: int main () { string food = "Pizza"; string* ptr = & food; / /line 2 cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
