"main.c"
#include "header.h"
int main()
{
    int ch;
    start = NULL;
    printf("Enter your choice:\n");
    printf("1 --> To create list\n");
    switch (ch)
    {
    case 1:
        start = create(start);
        break;
    }
}
"header.h"
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
typedef struct node NODE;
struct node
{
int info;
NODE* link;
};
extern NODE *start;
NODE* create(NODE*);
- The error is undefined reference to 'start' in main, but i have already declared it the header file, and i have even included 'header.h' file in 'main.c' file.
 
     
    