#include <cstdio> #include <cstring> void printString(char *arr, int i, int j) { for(int k = i; k < j; k++) { printf("%c", ...