i want to print words in reverse.
i could print characters in reverse but not words
for(int i=arr.length;i>0;i--)
printf(arr);
pavani2006 0 Newbie Poster
Recommended Answers
Jump to Post>help me in aproper way
Say please, jerk. The least you could do is show some respect to the people who are volunteering their time to help you for nothing in return.>i could print characters in reverse but not words
Okay, you can print the characters in reverse …
Jump to Post>Is that the question is reversing each individual word ?
Yes, that's what the OP wanted.
Jump to Post>Just an idea:
It sounds a great deal more complicated and less efficient than the usual double reverse trick.
All 10 Replies
Salem 5,265 Posting Sage
pavani2006 0 Newbie Poster
Narue 5,707 Bad Cop Team Colleague
kishore22 0 Newbie Poster
Narue 5,707 Bad Cop Team Colleague
ndeniche 402 Posting Virtuoso Featured Poster
Chaster 2 Junior Poster in Training
Narue 5,707 Bad Cop Team Colleague
devaru2003 0 Newbie Poster
devaru2003 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.