Question: Which is true regarding how functions work? Group of answer choices If a function returns a variable, the function stores the variable's value until the

Which is true regarding how functions work?
Group of answer choices
If a function returns a variable, the function stores the variable's value until the function is called again
After a function returns, its local variables keep their values, which serve as their initial values the next time the function is called
A return address indicates the value returned by the function
A function's local variables are discarded upon a function's return; each new call creates new local variables in memory

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!