diff options
author | Oskar <[email protected]> | 2024-07-31 17:09:45 +0200 |
---|---|---|
committer | Oskar <[email protected]> | 2024-07-31 17:09:45 +0200 |
commit | a450487a18ec72ea3a3815bfaf17b2f701796b6f (patch) | |
tree | 67b4cfe127bc5c134f06c06e57ad35629e630b7b /2p32.cpp | |
parent | b7819b597e1241dd98643eeda4c288a341142311 (diff) |
more
Diffstat (limited to '2p32.cpp')
-rw-r--r-- | 2p32.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -3,14 +3,15 @@ /* * - * 2.32 + * exersice 2.32 c++ primer * * */ int main () { - int null = 0, *p = null; - std::cout << null << " " << *p << std::endl; + int null1 = 0, *p1 = &null1; // Add a & ? + std::cout << null1 << " " << *p1 << std::endl; + return 0; } |