3 ms·
Truly curious as I don't code in C, or any other low level language. What is the problem with it? That there might not be enough memory allocated at *q?
by rat9988 7y ago
Truly curious as I don't code in C, or any other low level language. What is the problem with it? That there might not be enough memory allocated at *q?
- zsrxx 7y agoIt doesn't stop until *p is \0, so yes
- microtherion 7y agoNot enough memory at *p. The loop performs the exact same function that strcpy does, and some people just write it out by hand.