Hexaware Technologies Interview Question

Aptitude, logical, c coding