Zensar Technologies interview question

C programming, java