Pregunta de entrevista de Cognizant

Some complex recursive questions in C