I am trying to reverse the words in a string. Consider a string 'My name is abc'. The expected output should be 'cba si eman yM'. But I am getting the output as 'cba si emanyM'. There's something wrong in the final whitespace character. Can someone help me?I am trying to reverse the words in a string. C