Author: Stan Eisenstat
Subject: Re: [Cs223] destroyD
Date: Tuesday, 31 Mar 2020, 11:25:00
> Message Posted By: Unknown
>
> On your last response to destroyD, you said destroyD should free all
> storage and should not free any storage to which string pointers are
> pointing to.
>
> Does this mean that if we call remD in our destroyD function (if our Deque
> is not empty), the string (say char *line) that stores the removed string
> should not be freed?
Correct.
--Stan-
PREV
INDEX
NEXT