Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int izbrisi(){
- Element *tmp,*tmp2;
- int status=0;
- for(tmp=zacetek,tmp2=tmp->next;tmp != NULL;tmp=tmp->next,tmp2=tmp->next){
- if(tmp2->next == NULL){
- tmp->next=NULL;
- delete tmp2;
- status=1;
- break;
- }
- }
- return status;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement