Problem with realloc in the following function

Printable View