C语言realloc()函数:用于重新分配指定大小的堆内存空间函数名:realloc头文件:<stdlib.h>函数原型:void*realloc(void*p,unsignedsize);功能:用于重新分配指定大小的堆内存空间参数:……