palsubho801-create/Beginner-Tasks-Repo

Basic Singly Linked List Implementation in C

开放

#21 创建于 2025年10月16日

 (3 条评论) (0 个反应) (0 位负责人)C (4 个派生)auto 404
hacktoberfest

仓库指标

星标
 (0 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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:

  1. insert_at_beginning(int data): Inserts a new node at the head of the list.
  2. 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.

贡献者指南