Solved: 18 - Pointer Basics
This commit is contained in:
1 parent
d9e08afbcb
commit
9676acc893
2 files changed
+18
-5
No files matched your search
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace pointers {
|
||||
|
||||
[[nodiscard]] auto get_value(int* ptr) -> int;
|
||||
[[nodiscard]] auto get_value(const int* ptr) -> int;
|
||||
void set_value(int* ptr, int value);
|
||||
[[nodiscard]] auto is_null(const int* ptr) -> bool;
|
||||
void swap_via_pointers(int* a, int* b);
|
||||
|
||||
Reference in new issue
Block a user