Zoho Interview Question

Real time problem-Lift Scenario. Implement it using C.