C++ edit

Function call by value vs. by reference

The scope of this section is to explain the differences in theory and implementation for what happens with the parameters of a function upon calling.

In detail the parameters can be seen as variables before the function call and inside the function, where the visible behaviour and accessibility to these variables differs with the method used to hand them over.

Additionally, the reusability of variables and their respective values after the function call also is explained by this topic.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:

Function call by value vs. by reference/
Call by value

Table Of Contents
47 Function call by value vs. by reference
63 RAII
85 RTTI
  ↑ ↓ to navigate     ↵ to select     Esc to close