Well I'd like to know how I can delete the content of a string...
As an example
If I have written a code as the one above, but want to delete the content so that it is again "(null)"Code:#include <stdio.h> void main(void) { char string[1][32] = "This is a string"; char character[1][1] = 'A'; printf("%s, %c", string[1], character[1][1]); }
What do I have to do for a character and a string ???
Is there a some kind of strdelete command ???
Thanks in advance
client