how to select any two random characters in string c++ code example Example: c++ generate random char char cch = 'a' + rand()%26;