Question: Suppose function f 1 calls function f 2 . How can f 2 modify the value of a local variable in f 1 ? Question

Suppose function f1 calls function f2. How can f2 modify the value of a local variable in f1?
Question 8 options:
pass the address of the variable as an argument
pass the value of the variable as an argument
pass the heap memory of the variable
pass the stack memory of the variable

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 Programming Questions!