Q : Write a program to create a link list. There should be 20 nodes in the list, each node contains an integer between 1-20. The list should be printed at the end.
Solution :
#include<stdio.h>
typedef struct nlist
{
int data;
struct nlist *next;
}node;
node *start=NULL;
node* create(int);
void add(int);