You put the question under the tag C ++, so a suggestion goes in c ++
Use the string
class to make your life easier. You can use it with operators (sum and equality), as it is used in arithmetic (not all operators are defined, so be sure to always consult the documentation to be sure what you are doing).
Below is a very simple code that allows you to include 10 'h's in addition to the original, as in your suggestion in the question:
#include <string>
#include <iostream>
int main()
{
std::string s;
s = "ch";
for (int i = 0; i < 10; ++i)
s += 'h';
s += "ar";
std::cout << s << std::endl;
}