|
C_Practice
|
Functions | |
| void | linked_list_dynamic_init (P_Node *p_node) |
| void | printList (P_Node head) |
| void | printList_middle (P_Node head_ref) |
| void | linked_list_push_node (P_Node *head_ref, int data) |
| void | linked_list_reverse (P_Node *head_ref) |
| void linked_list_dynamic_init | ( | P_Node * | p_node | ) |
This function is allocating the dynamic memory to the node...
| Pass | a pointer-to-lined-list. it can change the memory address stored at that memory location. |
Referenced by main().
| void linked_list_push_node | ( | P_Node * | head_ref, |
| int | data | ||
| ) |
This function is pushing a new node at the front...
| Pass | a pointer-to-struct. it can change the memory address stored at that memory location. |
| Assign | data to a new node. |
Referenced by main().
| void linked_list_reverse | ( | P_Node * | head_ref | ) |
This function is reversing the linked list... Reverse function (Input: 1->2->3->4->NULL; Output: 4->3->2->1->NULL)
| Pass | a pointer-to-lined-list. it can change the memory address stored at that memory location. |
Referenced by main().
| void printList | ( | P_Node | head | ) |
This function is printing contents of linked list starting from the given node...
| Starting | node. |
Referenced by main().
1.8.15