Wipro Interview Question

puzzles and C programming