Advertisement
Guest User

Untitled

a guest
Aug 28th, 2015
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. No *p, *q;
  2. p = ini;
  3. q = ini->prox;
  4.  
  5. while (q && q->info != item){
  6. p = q;
  7. q = q->prox;
  8. }
  9.  
  10. p->prox = q->prox;
  11. ini->prox = q;
  12. q->prox = ini->prox;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement