Skip to content

Instantly share code, notes, and snippets.

View SandeepaDilshanAlagiyawanna's full-sized avatar
Focusing

Sandeepa Dilshan Alagiyawanna SandeepaDilshanAlagiyawanna

Focusing
View GitHub Profile
@echo-akash
echo-akash / LinkedList.c
Last active July 4, 2024 15:41
Implementation of Singly Linked List in C
#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