how to make string null in c code example
Example: how to set string to null in c
char *str;
/* ... allocate storage for str here ... */
*str = '\0'; /* Same as *str = 0; */
char *str;
/* ... allocate storage for str here ... */
*str = '\0'; /* Same as *str = 0; */