TCS interview question

Final year project C program basics