Example & Tutorial understanding programming in easy ways.

Write a syntax to create a doubly linked list.

Syntax:


struct node { 

int data; 

struct node *next; 

struct node *pre;

}; 

struct node *head, *ptr; 

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

Read More →