summaryrefslogtreecommitdiff
path: root/2p32.cpp
diff options
context:
space:
mode:
Diffstat (limited to '2p32.cpp')
-rw-r--r--2p32.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/2p32.cpp b/2p32.cpp
index 1e7211f..5fa6c3e 100644
--- a/2p32.cpp
+++ b/2p32.cpp
@@ -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;
}