#include #include int main() { char s[] = "aloHl"; std::inplace_merge(s, s+3, s+5); std::cout << s << '\n'; }