/* Prevajanje in poganjanje skupaj z datoteko test01.c: gcc -D=test test01.c naloga1.c ./a.out */ #include #include #include "naloga1.h" int * poisci (int * t, int * dolzina, int ** konec) { *konec = t; while (**konec) (*konec)++; (*konec)--; while (*t) t--; t++; *dolzina = *konec - t + 1; return t; } #ifndef test int main () { // koda za ro"cno testiranje (po "zelji) return 0; } #endif