palsubho801-create/Beginner-Tasks-Repo
Basic Singly Linked List Implementation in C
Offen
#21 geöffnet am 16.10.2025
hacktoberfest
Repository-Metriken
- Stars
- (0 Sterne)
- PR-Merge-Metriken
- (Keine gemergten PRs in 30 T)
Beschreibung
Create a new file named 'linked_list.c' to implement a basic Singly Linked List.
The implementation should define a struct Node and include at least two functions:
insert_at_beginning(int data): Inserts a new node at the head of the list.display_list(): Prints all elements in the linked list.
The main function should demonstrate inserting 3 or more elements and then displaying the final list.