I don't think you need a temp string (though, this may be a language dependent issue). Just use the string "as given" and keep track of the character positions within the string. The length of the original string is irrelevant as long as your system can handle it.
Dan :-) On Jun 23, 2:44 pm, hary rathor <harry.rat...@gmail.com> wrote: > 1 :take directly word by word direct from input stream > 2: just reverse word and put them into out stream > > Note : out stream can send data either on console or file > > this is require temp string sizeof (> length of largest word) that > you calculate > > On 6/24/11, Ashish Goel <ashg...@gmail.com> wrote: > > > > > > > > > > > given string " abc def i " > > output string " cba fed i " > > > program is simple, write code and test this function > > > what if the given string is a book of 500 pages. > > > Best Regards > > Ashish Goel > > "Think positive and find fuel in failure" > > +919985813081 > > +919966006652 > > > -- > > You received this message because you are subscribed to the Google Groups > > "Algorithm Geeks" group. > > To post to this group, send email to algogeeks@googlegroups.com. > > To unsubscribe from this group, send email to > > algogeeks+unsubscr...@googlegroups.com. > > For more options, visit this group at > >http://groups.google.com/group/algogeeks?hl=en. > > -- > Harish Pranami > Master Of Computer Application , > Deptt of computer Science, > north campus , university of delhi, > New Delhi pin no - 110007 -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.