Gigamon Interview Question

Recursion program in C language - code