add the memory leak note

This commit is contained in:
Jidong Xiao
2023-09-19 00:00:28 -04:00
parent 5581676766
commit 4804683f1d

View File

@@ -416,7 +416,7 @@ c[1] = b[1];
c = &(a[3]);
```
See [solution](memory_exercise2_solution.png).
See [solution](memory_exercise2_solution.png). Note that there is a memory leak of 3 *int*s in this program.
- Write code to produce this diagram: