下面程序的输出结果是()
#include <stdio.h> #include <stdlib.h> #include <string.h> void MallocMem(char* pc) { pc = (char*) malloc (100); return; } int main() { char *str=NULL; MallocMem(str); strcpy(str,"hello "); strcat(str+2, "world"); printf("%s",str); return 0; }