This file contains hidden or 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
#include<stdio.h> | |
#include<stdlib.h> | |
struct node //make node for linked list using structure | |
{ | |
int value; //value part of node contains the element | |
struct node *next; //the next part of node contains the address of next element of list | |
}; | |
struct node *head; //contains the address of first element of linked list |