cplusplus:pointers_2_slides
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
cplusplus:pointers_2_slides [2021/10/19 19:34] – [Calling functions by reference] mithat | cplusplus:pointers_2_slides [2021/10/19 19:36] – [Calling functions by reference] mithat | ||
---|---|---|---|
Line 63: | Line 63: | ||
* Pointers can be used to implement //pass by reference// in functions. | * Pointers can be used to implement //pass by reference// in functions. | ||
* The '' | * The '' | ||
- | | + | * Strictly speaking, the passing mechanism is //call by value//. But functionality is pass by reference. |
- | | + | |
* The syntax in the function invocation (e.g., '' | * The syntax in the function invocation (e.g., '' | ||
cplusplus/pointers_2_slides.txt · Last modified: 2021/10/19 19:46 by mithat