Tuesday, March 22, 2016

c - Why does strncpy() return a pointer

Why does strncpy() return a pointer, when char *dest gets assigned anyway?



Is this simply a design decision to make it more flexible?

No comments:

Post a Comment