Hello,
I have a pointer which holds a variable for example:
char * username;
strcpy(username, "ted");
How do you set the pointer so its empty and does not hold the name ted?
I've tried setting the pointer to null but keep getting a segmentation error.
Thanks