Write a function reverse which takes a strings as a parameter and prints it out in reverse.

Example:

reverse (hello) prints out (olleh)

Questions by yong ha

Showing Answers 1 - 4 of 4 Answers

ankur

  • Jun 7th, 2012
 

Code
  1. #include<stdio.h>

  2. #include<string.h>

  3. "in this world let there be a name and fame to those who can""%s",b);

  4. }

  Was this answer useful?  Yes

mahamad

  • Jun 14th, 2012
 

Code
  1. #include<stdio.h>

  2. #include<conio.h>

  3. #include<string.h>

  4. "Enter ANy String:=>");

  5. scanf("%s""-----------Reverse String is---------------

  6. ""%c"

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions