Created
November 8, 2015 10:57
-
-
Save irrationnelle/30134385f17a02f21df1 to your computer and use it in GitHub Desktop.
I had another error for SLL_InsertHead
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void SLL_InsertHead(Node** Head, Node* NewHead) | |
{ | |
if((*Head) == NULL) | |
*Head = NewHead; | |
else | |
{ | |
//NewHead->NextNode = (*Head)->NextNode; | |
NewHead->NextNode = *Head; | |
*Head = NewHead; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment