Question: Dangling pointers & Lost heap dynamic variables 8. (12 marks). Consider the following C++ program #include #include int main() int pl, *p2; p1 new int;

Dangling pointers & Lost heap dynamic variables 8. (12 marks). Consider the following C++ program #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
