diff --git a/lectures/06_memory/README.md b/lectures/06_memory/README.md index 0302bf9..74d3d10 100644 --- a/lectures/06_memory/README.md +++ b/lectures/06_memory/README.md @@ -29,7 +29,7 @@ Dynamic memory is:
-```cpp
+int * p = new int; *p = 17; cout << *p << endl; @@ -44,7 +44,7 @@ p = temp; cout << *p << " " << *q << endl; delete p; delete q; -``` + |
|