//koriscen selection sort #include #include #include void razmeni(char *a, char *b) { char pom[20]; strcpy(pom, a); strcpy(a, b); strcpy(b, pom); } int nadji_min(char **niz, int n, int i) { int j, indeks = i; char min[20]; strcpy(min, niz[i]); for(j=i+1; j 0) { strcpy(min, niz[j]); indeks = j;} return indeks; } void sort(char **niz, int n) { int i,j; for(i=0;i