Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- #include<string.h>
- void inv(char s[]){
- int t;
- for(t=strlen(s)-1; t>=0; t--){
- printf("%c\n", s[t]);
- }
- }
- int main(){
- char inf[]="Programacion I";
- inv(inf);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment