Question: 1) List all variables and objects from the above code that are stored in the static area. 2) List all variables and objects from the

1) List all variables and objects from the above code that are stored in the static area.
2) List all variables and objects from the above code that are stored in the stack.
3) List all variables and objects from the above code that are stored in the heap.
1. int funl ) static int k = 30; int m = 20; return m*k; 5. 6. int main O int* ptrl-new int (5); int num; num = *ptr1 + fun!(); cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
