daily pastebin goal
1%
SHARE
TWEET

Untitled

a guest May 16th, 2018 110 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void porownaj(struct lista **head, struct lista **headA){
  2.  
  3.     if((*head)!=NULL && (*headA)!=NULL){
  4.  
  5.         struct lista *walker1=(*head);
  6.         struct lista *walker2=(*headA);
  7.  
  8.         while(walker1->next!=NULL){
  9.             while(walker2->next!=NULL){
  10.                 if(walker1->key==walker2->key){
  11.                     int x=walker1->key;
  12.                     add_head_por(&headB,x);
  13.                     walker2=walker2->next;
  14.  
  15.                 }
  16.                 walker2=walker2->next;
  17.  
  18.             }
  19.             walker1=walker1->next;
  20.         }
  21.  
  22.  
  23.     }
  24.  
  25.  
  26. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top