Asked by Chyna Forrester on May 16, 2024

verifed

Verified

When the function returns control to its calling function, its ____ variables "die".

A) local static
B) extern
C) local extern
D) local auto

Calling Function

The process by which a function is invoked or executed in a program.

Function Returns

Describes the process of sending a value back to the point where a function was called.

  • Comprehend the lifecycle of variables based on their storage class, especially the behavior of local auto variables.
verifed

Verified Answer

KM
Kaylee MorrisonMay 20, 2024
Final Answer :
D
Explanation :
Local auto variables are automatically allocated upon entering a function and are deallocated when the function returns, effectively "dying" at that point.