The strcpy function and strncpy functions are used to copy the source string to the target string (one copies the entire string and the other copies the characters upto certain lenght as specified in the arguments)
In one of the places it is quoted as
"If src and dst are overlapping string, the results of strcpy and strncpy are undefined"
What do they mean by overlapping? I mean how can two strings overlap when they are two different addresses? Is there something wrong with this statement or i am mistaking it for something else?