Write a function which accepts a sentence as input
parameter.Each word in that sentence is to be reversed.
Space should be there between each words.Return the
sentence
with reversed words to main function and produce the
required output.
for eg:- i/p: jack jill jung kill
o/p: kcaj llij gnuj llik


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Programming Languages AllOther Interview Questions

1. Consider the following code in our example assembly language: ; an example bit of assembly code ROOT: W FATHER FATHER: W SON1 W SON2 SON1: W NIL W NIL ; ---------------------- SON2: W GRANDSON W NIL GRANDSON: W NIL W NIL NIL = 0 Assemble this code carefully following the two pass model, and show the symbol table at the point marked by the dashed line during each pass.

0 Answers   TCS,


What function would you use to extract characters from a given string?

2 Answers  


where is available in this mantis toturials?

0 Answers  


write a program on c(or)c++(or)java language i.e if i have 5 numbers like (10,24,3,9,15) i want to display highest number from these numbers

2 Answers  


what do u mean by tagging

0 Answers  






how can we maintain the previous version scripts to new version.

0 Answers   DST Global Solutions,


Which design patterns have you used?

0 Answers  


what are the top level class of interface in java?

2 Answers   Satyam,


what are all the validation we need to perform in data stage?

0 Answers  


What is meant by spooling

2 Answers   Qiscet,


what do u mean by html

5 Answers   Infosys,


how to convert the data from HTML file to SAS dataset?

0 Answers   Accenture,


Categories