Esempio n. 1
0
void PushTest() {
struct node* head = BuildTwoThree();// suppose this returns the list {2, 3}
Push(&head, 1); // note the &
Push(&head, 13);
// head is now the list {13, 1, 2, 3}
}
Esempio n. 2
0
void PushTest(){
    struct node* head = BuildTwoThree();

    Push(&head, 1);
    Push(&head, 13);
}