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 f calls function f How can f modify the value of a local variable in f
Question 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
