Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- void ambilBelakang(node *simpul)
- {
- simpul->next=simpul->next->next;
- }
- void ambilDepan(node *simpil)
- {
- node *hapus;
- hapus=simpil->next;
- while(hapus->next->next!=NULL)
- {
- hapus=hapus->next;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement