Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void obrat(char *x, int zaciatok, int koniec){
- char pom;
- if(zaciatok>=koniec)
- return;
- pom=x[zaciatok];
- x[zaciatok]=x[koniec];
- x[koniec]=pom;
- obrat(x, zaciatok+1, koniec-1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement