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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!