printf("Unesite niz karaktera:"); c=getchar(); while(c!=EOF && i<MAX){ prvi[i]=c; i++; c=getchar(); }