Pergunta de entrevista da empresa Tata Consultancy Services

OOPS, Functions, I had to write a short program in C