ABC Interview Question

asked just basic question in technical