Pregunta de entrevista de Tech Mahindra

basic programming questions from string and array.