I wrote a string copy routine for learning purposes and then I dellibratly made it leave the \0 off the destination string and it still works why is this?
Code:char *chrstrcpy(char *des,char *src) { char *p = des; while (*src != '\0') { *p++ = *src++; } return des; }