Created
July 16, 2017 18:37
-
-
Save amulyagaur/8b5f9653bcb8719b6d0c3e73ca5e399c to your computer and use it in GitHub Desktop.
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 print_list(node* head) | |
{ | |
while(head!=NULL) | |
{ | |
cout<<head->data<<endl; | |
head=head->next; | |
} | |
return; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment