7. [15 points] Assume ASCII representation of characters and the following function: void g(char ch, int n) { if (n<=0)
Posted: Mon Jun 06, 2022 4:32 pm
7. [15 points] Assume ASCII representation of characters and the following function: void g(char ch, int n) { if (n<=0) { cout << endl; } else { g(ch-1,n-1); cout << ch; g(ch+1, n-1); } What output will be produced by the function call below? Write your final answer on the provided line. g('M', 2) Output: Use \n to indicate when endl is output. }