Pergunta de entrevista da empresa Tech Mahindra

simple questions, technical bit difficult.