hii
statement : given a string of length l reverse the word in it.
example 1:
input=technology
output=technology.
example 2:
input :world is my country
output: country my is world
i am stuck here mad logic but getting wrong result
please help me.
code i have written: