Hi,
I am learning strings..and I came across this prototype for the strncpy function..can someone please explain..
char *strncpy(char *to_string, const char *from_string, int size);
I understand most of it..except..why is strncpy of type pointer to a character?? and what does const (??) char*from_string mean??
Why is it a constant? Is it cos it doesn't change? would I type in const??
Thanks in advance
A