Function call by value vs. by reference

suggest change

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:

Table Of Contents
8 Arrays
11 Loops
39 Streams
46 Function call by value vs. by reference
51 Unions
56 Lambdas
60 SFINAE
62 RAII
67 Sorting
84 RTTI
87 Scopes
104 Profiling
107 Recursion
117 Iteration
125 Alignment
134 Semaphore
136 Debugging
139 Mutexes
142 decltype