Computer Science, asked by namitashaw3953, 10 months ago

What happens to the stack when a function is called?

Answers

Answered by Abhishek5501
0
What happens when a function is called in C++? ... Initially when 'main'function is called, the stack frame for 'main' is also made. Whenever main calls other function then thatfunction's stack frame is made. It means that a pointer (known as stackpointer) keeps track of the functionswhich are called.
Similar questions