1.#include <iostream>#include <string>using namespace std;int cal(char *s){ if (*s == 0) return 0; return cal(s + 1) + 1;}char h(char *s, int n, int i, int &...