#include #include #include main() { int i,j; char *cph, *cp, *cpg; cph = malloc(20); strcpy(cph,"hello world"); printf("%s\n", cph); for(i=0;i<6;i++){ printf("%d...\n",i); cp = malloc(1000000000); for(j=0;j<1000000000;j++) cp[j] = '0' + j; free(cp); } cpg = malloc(20); memcpy(cpg,cph,20); printf("%s\n", cpg); return 0; }