Wipro Interview Question

General question from engineering