boost learn study
Friday, March 28, 2014
strrev() - String Handling Functions
/*Write a program to print the reverse String*/ #include
#include
#include
void main() { char name[20]; clrscr(); printf("Enter the Name:\n"); scanf("%s",name); strrev(name); printf("\n Reverse String=%d",name getch(); }
Output is as :
Enter the Name
Laura
aruaL
Read more �
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment