Wipro interview question

puzzles and C programming