/* Prevajanje in poganjanje skupaj z datoteko test01.c: gcc -D=test test01.c naloga2.c ./a.out */ #include #include "naloga2.h" void zamenjaj (int ** a, int ** b) { int * tmp = *b; *b = *a; *a = tmp; } void uredi (int ** a, int ** b, int ** c) { if (**a > **b) zamenjaj(a, b); if (**b > **c) zamenjaj(b, c); if (**a > **b) zamenjaj(a, b); } #ifndef test int main() { // koda za ro"cno testiranje (po "zelji) return 0; } #endif