Task string to string. Printf string c++. strcpy c++. строковый индекс. printf("%s ", &(str[i]) + 1);.