2nd try of code and png side by side

This commit is contained in:
Jidong Xiao
2023-09-18 21:55:28 -04:00
parent 16897ff6b3
commit 604718ac28

View File

@@ -29,7 +29,7 @@ Dynamic memory is:
<table>
<tr>
<td>
```cpp
<pre>
int * p = new int;
*p = 17;
cout << *p << endl;
@@ -44,7 +44,7 @@ p = temp;
cout << *p << " " << *q << endl;
delete p;
delete q;
```
</pre>
</td>
<td><img src="heap.png" alt="heap"</td>
</tr>