Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #107.55K
~2K People Reached
Favorite Forums
Favorite Tags
c x 1

1 Posted Topic

Member Avatar for varun51

#include void rev(char *l, char *r); int main(int argc, char *argv[]) { char buf[] = "the world will go on forever"; char *end, *x, *y; // Reverse the whole sentence first.. for(end=buf; *end; end++); rev(buf,end-1); // Now swap each word within sentence... x = buf-1; y = buf; while(x++ < …

Member Avatar for Amangpt01
0
2K

The End.