Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dane * alokacja(Lista lista, int len){
- int i = 0;
- Dane * tab = (Dane *)malloc(len * sizeof(Dane));
- Dane d = lista->head;
- while(d != NULL){
- tab[i++] = d;
- d=d->next;
- }
- return tab;
- }
Advertisement
Add Comment
Please, Sign In to add comment