functioncall
A function call is the act of invoking a function or method in a program. It transfers execution from the caller to the called function, supplies arguments, and, typically, returns a value to the caller. A function call may also be described as applying a function to a set of inputs.
When a call occurs, the language usually creates a new activation frame on the call stack to
Key concepts related to function calls include parameter passing mechanisms (such as pass-by-value, pass-by-reference, and pass-by-sharing),
Return values and side effects are central to the semantics of a call. A function may return
Optimizations may affect function calls, including inlining small calls or applying tail call optimization to reuse