Tuesday 22 March 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

c++ - Does curly brackets matter for empty constructor?

Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...