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:42] – [Calling functions by reference] mithat | cplusplus:pointers_2_slides [2021/10/19 19:42] – [Pointers as function parameters] mithat | ||
---|---|---|---|
Line 28: | Line 28: | ||
* Arguments can be anything that can be assigned to a pointer (i.e., addresses or pointers). | * Arguments can be anything that can be assigned to a pointer (i.e., addresses or pointers). | ||
- | ===== Pointers as function parameters | + | ===== Example |
<file cpp function-with-pointer.cpp> | <file cpp function-with-pointer.cpp> | ||
/** Demonstrates how to pass pointers to functions. */ | /** Demonstrates how to pass pointers to functions. */ |
cplusplus/pointers_2_slides.txt · Last modified: 2021/10/19 19:46 by mithat