Pregunta de entrevista de Aaptatt

Write a program to reverse a string word by word