Write the string copy and string concatenation functions


Question: Write the string copy and string concatenation functions as

a.char *strcpy(const char *string1,const char *string2) -- Copy string2 to stringl by using pointer arithmetic.

char *strncat(const char *string1, char *string2, int n) -- Append n characters from string2 to stringl by using pointer arithmetic

You need to provide the function definition has to implement this in code section.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Write the string copy and string concatenation functions
Reference No:- TGS0944990

Expected delivery within 24 Hours