typedef struct node { int data; struct node* next; struct node* prev; } Node; Node *last = NULL; Node *head = NULL; Node *current = NULL; int NoNodes = 1;