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> <table>
<tr> <tr>
<td> <td>
```cpp <pre>
int * p = new int; int * p = new int;
*p = 17; *p = 17;
cout << *p << endl; cout << *p << endl;
@@ -44,7 +44,7 @@ p = temp;
cout << *p << " " << *q << endl; cout << *p << " " << *q << endl;
delete p; delete p;
delete q; delete q;
``` </pre>
</td> </td>
<td><img src="heap.png" alt="heap"</td> <td><img src="heap.png" alt="heap"</td>
</tr> </tr>