char *str;
str=(char *)malloc(100*sizeof(char));
int * arr;
arr=(int*)malloc(100*sizeof(int));
释放内存使用的是free(str);