Ad Code

Remove parameter in C and Pascal from Stack

Who is responsible for removing the parameter from the stack when we call a function in C and Pascal?

In C the caller removes the parameter while in Pascal the callee removes them. The C scheme has reasons pertaining to its provision for variable number of arguments.

Reactions

Post a Comment

0 Comments