15th Oct 2016, 5:42 PM
sabreen anjum
sabreen anjum - avatar
2 Respostas
+ 1
Create string. Convert it to char array and start to assign its elements to elements of other char array. Whenever space occurs the program pass new array to reverse method which print it reversed. Than k is assigned to 0 the same procedure for next word. And the same for last word.
15th Oct 2016, 9:11 PM
Ivan Velinov
- 1
Thanks
16th Oct 2016, 3:11 AM
sabreen anjum
sabreen anjum - avatar