using namespace std;
char copy (char* s, char* t){ // копирование строки т в строку с
int i = 0;
/*cout << s[5] << t[5] << '\n';
cout << *s << *t << endl;
cout << s << t << endl;*/
while(*t != '\0'){
t[i]=s[i];
i++;
}
return *s;
}
void main(){
char* a;
char* b;
a = "lol";
b = "pop";
copy (b, a);