Example & Tutorial understanding programming in easy ways.

Write syntax to create a singly linked list.

Syntax:


struct node 

int data; 

struct node *next; 

};

struct node *head, *ptr; 

ptr = (struct node *)malloc(sizeof(struct node));

Read More →