/*strcpy function*/ void str_cpy(char *str_to, char *str_from) { char c; while ((c=*(str_from++))!='\0') { *(str_to++)=c; } *str_to='\0'; }