Pergunta de entrevista da empresa Tata Consultancy Services

Basic coding questions, from BE syllabus.