One question just poped in my head while reading this, it may be irrelevant to ask in this question.
Question is what is the similar unctions or operators for realloc, calloc like C language?