Tech Mahindra interview question

Write a factorial Program using Recursion