Synopsys interview question

What happened when a function is called in C++?