Implement the strcpy function as efficiently as you can.. How do you handle errors if you had to
char *copy(char *str,char *cpystr) { int n = strlen(str); if(n == 0) return NULL; for(i = 0;i
Implement the strcpy function.
char *copy(char *str,char *cpystr)
{
int n = strlen(str);
if(n == 0)
return NULL;
for(i = 0;i