#include #include #define KONECPOLE 100 int main (){ char pole[KONECPOLE]; char *p; int a; scanf("%s", pole); if(strlen(pole)<=KONECPOLE) { printf ("%s\n---\n", pole); p=&pole[strlen(pole)]; for(a=0; a<=strlen(pole); a++) { p--; printf("%c",*p); } } else printf("\n moc dlouhy string"); printf ("\n"); return 0; }