Computer Science, asked by kadyanmanish421, 13 days ago

ALL 5. Function Calls Which of the following handles function calls? 2 2 Pick ONE option o The data heap 3 The stack 4 5 The processor's registers 6 The main memory 7 The system calls ​

Answers

Answered by Tulsi4890
1

The Stack handles all the function calls

  • Whenever any program starts first of all the main function is called which stores and handles all the functions in a Last in First Out (LIFO) order. So the main function sits at the bottom of the stack and as the program proceeds more functions are added and removed from this stack
  • Stack also stores all the local variables which gets deleted once the program execution finishes
Similar questions