diff --git a/C/linked_list_creation_and_display.c b/C/linked_list_creation_and_display.c index 4fc3045c..04a440ab 100644 --- a/C/linked_list_creation_and_display.c +++ b/C/linked_list_creation_and_display.c @@ -1,6 +1,7 @@ #include #include +// Defining the components of a node struct node { int data; @@ -9,6 +10,7 @@ struct node int main() { + // Declaring the pointers struct node *head, *newnode, *temp, *prvnode, *curnode, *nxtnode; int choice; head = 0; @@ -51,4 +53,4 @@ int main() } return 0; -} \ No newline at end of file +}