[added]Solution to the realloc lab03