函数名: free
功  能: 释放已分配的块
用  法: void free(void *ptr);
程序例:
#include <string.h>
#include <stdio.h>
#include <alloc.h>
int main(void)
{
   char *str;
   /* allocate memory for string */
   str = malloc(10);
   /* copy "Hello" to string */
   strcpy(str, "Hello");
   /* display string */
   printf("String is %s\n", str);
   /* free memory */
   free(str);
   return 0;
}