Ankur Kulhari

Write a program to reverse a string word wise.

  • The string should be taken from user at run time.
  • Characters within word are not to be reversed.
  • If you are an exert, implement using dynamic memory allocation for string, otherwise use array and display the maximum character that user can enter.
  • If user does not the criteria, display an error message and ask to re-enter.

What do you think about the article?

This site uses Akismet to reduce spam. Learn how your comment data is processed.