SHARE
TWEET

Untitled

rornoanparn Feb 26th, 2020 (edited) 100 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void deleteLast(List &L, address P) {
  2.     address Q;
  3.     Q = first(L);
  4.     while (next(next(Q))!=NULL){
  5.         Q = next(Q);
  6.     }
  7.     next(Q)=P;
  8.     next(Q)=NULL;
  9. }
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