Webeduclick.com
Computer Science Tutorials
#include<stdio.h> #include<conio.h> #include<string.h> void main() { char sk[15]; clrscr(); printf("Enter the String: "); gets(sk); printf("\nThe Reversed String is %s",strrev(sk)); getch(); }
Output: