Pregunta de entrevista de Tech Mahindra

simple questions, technical bit difficult.