Pergunta de entrevista da empresa HARMAN

Write program to reverse chars of words in a given line.