1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #include<stdio.h> #include<conio.h> #include<string.h> void main() { char a[80]; clrscr(); printf("ENTER A WORD \n"); scanf("%s",&a); strrev(a); printf("REVERSE OF THE CHARACTER U ENTERED IS %s",a); getch(); } |
No comments:
Post a Comment