diff --git a/CPP/data-structures/LinkedList.h b/CPP/data-structures/LinkedList.h new file mode 100644 index 0000000..35c00ff --- /dev/null +++ b/CPP/data-structures/LinkedList.h @@ -0,0 +1,11 @@ +#ifndef LINKEDLIST_H +#define LINKEDLIST_H +struct node { + struct node* next; + int data; +}; + +struct node* head=NULL, *temp=NULL, *newn; + +void printll(); +#endif