i dynamically allocated a multi dimmed array defined as
char **cptr;
first i issued malloc for cptr like:
cptr = malloc(sizeof(char *) * 5);
and then i issued malloc using a loop
for each element of cptr like:
cptr[ctr] = malloc(20);
NOW, do i have to free() EACH ELEMENT of the array in a loop like:
free(cptr[ctr]);
or just issue one call ?:
free(cptr);