Consider the following functions:
int main()
{
func1();
}
void func1()
{
func2();
}
void func2()
{
}
How does the compiler know where to return after having func2completed all its operations? I know that control passes functions func1(and exactly which operator), but how does the compiler know about this? What tells the compiler where to go back?
Abbas source
share