4 ms·realloc is the same, as the old memory needs to be copied to the new memory.by bangaladore 2y agorealloc is the same, as the old memory needs to be copied to the new memory.