Infosys interview question

OOPs concept, Loops, function, array