Hi,
If suppose we have a double pointer like
char **a
and for each a we allocate some space also, then is it sufficient to free a only or we need to first delete each a and then delete a?
And if there are parent child relationship like a is a pointer which contains another pointer. In that case is it sufficient to delete the parent only or we need to first delete the child and then delete the parent as well?