technophile Ars Legatus Legionis 27y 23,768 Oct 26, 2001 #2 Oct 26, 2001 Add bookmark #2 Originally posted by jerkins: char * blah(void) { return "test\0"; } Click to expand... Why do you have the \0 at the end of the string? C will automatically null-terminate string constants. ••• More options Report Add bookmark Share
Originally posted by jerkins: char * blah(void) { return "test\0"; } Click to expand... Why do you have the \0 at the end of the string? C will automatically null-terminate string constants.