Wipro interview question

simple basic concepts asked