How to clear a char* string array in C - Ubuntu Forums
Given that char *string = (char*)malloc(500); how would I go about clearing *string? In java for example if I wanted to make a string empty I would just say, String var = ""; What would be the C equivalent? Thanks in advance....