#include #include int slength(char s[]) { int i; int l; l = 0; i =0; while(s[i]!='\0') { l = l+1; i = i+1; } return l; } char * scopy(char s[]) { char * c; int l; int i; l = slength(s); c = (char *)malloc(l); i = 0; while(i