cplusplus:pointers_2
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 [2016/03/05 22:21] – [Pointers as function parameters] mithat | cplusplus:pointers_2 [2016/03/05 22:21] – [Pointers as function parameters] mithat | ||
---|---|---|---|
Line 45: | Line 45: | ||
} | } | ||
- | /** Simple function showing how to pass pointers to functions. | + | /** |
- | * Print the value of nPtr and the value of dereferenced nPtr. | + | * Simple function showing how to pass pointers to functions. |
- | */ | + | * Print the value of nPtr and the value of dereferenced nPtr. |
+ | */ | ||
void printPtr(int *nPtr) | void printPtr(int *nPtr) | ||
{ | { |
cplusplus/pointers_2.txt · Last modified: 2019/03/28 16:55 by mithat