Pregunta de entrevista de Tech Mahindra

Basic Programming and behavioral question