Pregunta de entrevista de Cognizant

how to take char input and then the array regarding it, strings, array, location