typedef struct El { struct El *N; int Z; } EL; EL *Dodaj(EL *Lista, int Z) { EL * Nowy = (EL*)malloc(sizeof(EL)); Nowy->N = 0; Nowy->Z = 0; if(!Lista) return Nowy; EL *Buf = Lista; while(Buf->N) Buf = Buf->N; Buf->N = Nowy; return Lista; }