Question: What is the primary use of a stack in programming?
Options:
Correct Answer: Managing function calls
Solution:
Stacks are primarily used to manage function calls in programming, following the Last In First Out (LIFO) principle.