add the memory leak note
This commit is contained in:
@@ -416,7 +416,7 @@ c[1] = b[1];
|
|||||||
c = &(a[3]);
|
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:
|
- Write code to produce this diagram:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user