/* copying to a string for unix v6 era c language */ main() { char x[20]; strcat (x, "apple"); printf ("\nThe word is %s", x); } strcat (s, t) char s[], t[]; { int i,j; i=j=0; while (s[i] !='\0') i++; while ((s[i++] = t[j++]) !='\0') ; }