АВ
Size: a a a
АВ
AS
ДГ
void str_cat(char *to, const char *from){
int index = getEmptyIndex(to);
for(; *from != '\0'; ++from, ++to) {
to[index] = *from;
index++;
}
cout << to;
}
AS
IZ
AS
ДГ
void str_cat(char *to, const char *from){
int index = getEmptyIndex(to);
for(; *from != '\0'; ++from) {
to[index] = *from;
}
cout << to;
}
AS
ДГ
K
AS
АВ
AS
ДГ
void str_cat(char *to, const char *from){
int index = getEmptyIndex(to);
const char* iter = from;
while(*iter != '\0'){
to[index] = *iter;
iter++;
index++;
}
cout << to;
}
ДГ
ДГ
АВ
IZ
АВ