summaryrefslogtreecommitdiff
path: root/11_read_ptr1/answer.txt
diff options
context:
space:
mode:
authorHaidong Ji2022-04-15 15:51:30 -0500
committerHaidong Ji2022-04-15 15:51:30 -0500
commit442a49ad5a48d417345959b903ae6a6d32d55759 (patch)
treec7127bb497e5e439018b1915e0136eec2c9cb124 /11_read_ptr1/answer.txt
Great C programming funHEADmaster
Excellent fundamentals and displine training, many tools and techniques exercises: gdb, emacs, valgrind, git
Diffstat (limited to '11_read_ptr1/answer.txt')
-rw-r--r--11_read_ptr1/answer.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/11_read_ptr1/answer.txt b/11_read_ptr1/answer.txt
new file mode 100644
index 0000000..22c9abe
--- /dev/null
+++ b/11_read_ptr1/answer.txt
@@ -0,0 +1,4 @@
+In f, *a = 3, b = 4
+In g, x = 7, *y = 8
+Back in f, *a = 7, b = 0
+In main: x = 7, y = 4