Pregunta de entrevista de HCLTech

Some basic coding questions which are easy