no error in compiling time, no error while running, but I just feel insecure. I tested the size of returned space, it was 4. don't know why not 0?????
what wrong with it?
Code:char *space = NULL; size = GetSize(text); /* zero returned to "size" */ space = malloc(size); lstrcpy(space, "\0"); /* initialize "space" */