Reversing a string is used to create the mirror of the string .
This program is based on array without using api ,built in function or recursion .
for example :
if we pass the string " Alive is awesome "
then the reverse is : emosewa si evilA
Here we pass the string to the reversestring() method which prints the character one by one in reverse order.
This program is based on array without using api ,built in function or recursion .
for example :
if we pass the string " Alive is awesome "
then the reverse is : emosewa si evilA
Here we pass the string to the reversestring() method which prints the character one by one in reverse order.
No comments:
Post a Comment