Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <string.h>
- #include <ctype.h>
- int main(void) {
- char pal[101], pa[101];
- int a,i,d, re;
- scanf("%d %s", &a, pal);
- for(i=a-1;i>=0;i--){
- printf("%c",pal[i]);
- }
- printf("\n");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement