COMP2113
COMP2113_ENGG1340 Programming technologies and Computer programming II [Section 2BC] [2023]
|
#include <iostream>
Go to the source code of this file.
Classes | |
struct | Node |
Functions | |
int | main () |
void | print_list (Node *head) |
void | print_list_reverse (Node *head) |
void | tail_insert (Node *&head, Node *&tail, int num) |
int main | ( | void | ) |
Definition at line 52 of file print_list_reverse.cpp.
References print_list(), print_list_reverse(), and tail_insert().
void print_list | ( | Node * | head | ) |
Definition at line 21 of file print_list_reverse.cpp.
References Node::info, and Node::next.
Referenced by main().
void print_list_reverse | ( | Node * | head | ) |
Definition at line 11 of file print_list_reverse.cpp.
References Node::info, Node::next, and print_list_reverse().
Referenced by main(), and print_list_reverse().
Definition at line 33 of file print_list_reverse.cpp.
References Node::info, and Node::next.
Referenced by main().