Can I use realloc()?

Thank you for a quick answer.