Ver originalchar* alreves(char* pal){ int i,n,a=0; char* pal2; n=strlen(pal); pal2=new char(n+1); for(i=n-1; i>=0; i--) { pal2[a]=pal[i]; a=a+1; } pal2[n]='\0'; return pal2;}