What is the difference between strcpy() and strncpy()?
strncpy() does not require null termination
strncpy() copies only one character
strncpy() allows specifying the number of characters to copy
No difference
This question is part of this quiz :
Strings in C