Sollicitatievraag bij Tata Consultancy Services

some basic c question , along with random chat