Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void sort(char pole[]){
- int i, j = 1;
- char pom;
- while (pole[j] != '\0'){
- i = j;
- while (i && pole[i] < pole[i - 1]){
- pom = pole[i];
- pole[i] = pole[i - 1];
- pole[i - 1] = pom;
- i--;
- }
- j++;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement