Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion C/linked_list_creation_and_display.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include <stdio.h>
#include <stdlib.h>

// Defining the components of a node
struct node
{
int data;
Expand All @@ -9,6 +10,7 @@ struct node

int main()
{
// Declaring the pointers
struct node *head, *newnode, *temp, *prvnode, *curnode, *nxtnode;
int choice;
head = 0;
Expand Down Expand Up @@ -51,4 +53,4 @@ int main()
}

return 0;
}
}