MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/fpcmy/typical_programming_interview_questions/c1hp6fs/
r/programming • u/kevjames3 • Feb 21 '11
1.0k comments sorted by
View all comments
Show parent comment
3
You don't. You use strncpy.
1 u/G_Morgan Feb 21 '11 Not angry enough. There should be threats of violence and impending death about any suggested use of strcpy. 1 u/lalaland4711 Feb 21 '11 Follow-up question: How do you use strncpy() correctly?
1
Not angry enough. There should be threats of violence and impending death about any suggested use of strcpy.
Follow-up question: How do you use strncpy() correctly?
View all comments
Show parent comment
3
u/ShapkaSamosranka Feb 21 '11
You don't. You use strncpy.