 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| • |
Program
#3
|
|
|
|
– |
Remember
that you destructor needs to
|
|
|
deallocate
the data (only deallocate the data
|
|
|
once...more
than once may lead to a
|
|
|
segmentation
fault!)
|
|
|
|
– |
deallocate
the nodes for both hash tables
|
|
|
|
• |
(the
nodes for one hash table will be DIFFERENT
|
|
than
the nodes for the 2nd hash table)
|
|
|
|
– |
and,
deallocate the two hash tables
|
|