Question: Write a short program that creates a pointer to a Person object, assigns it to point to a memory location, assigns values for the age
Write a short program that creates a pointer to a Person object, assigns it to point to a memory location, assigns values for the age and name and then outputs the values as a check.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
