mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
Update data_structures/reverse_a_linked_list.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
parent
55de9f9ddc
commit
650a2fdc46
@ -77,8 +77,7 @@ void reverseList(Node **head) {
|
|||||||
*head = prev;
|
*head = prev;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Main function:
|
* @brief Main function
|
||||||
* Allows the user add ,display and reverse values from the list.
|
|
||||||
* @returns 0 on exit
|
* @returns 0 on exit
|
||||||
*/
|
*/
|
||||||
int main() {
|
int main() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user