I know there is a way to give a value of a specific character being repeated n times to a string while declaring it, like this:
string example(int, char);