Can someone please help me out I been trying this and cannotfigure it out. using pointers and arrays and recursion

use link.

https://pastebin.com/Pr3VUKYw