change to
at main
struct link *head=NULL;
char choice;
create(value, &head);
at create
if(*head==NULL) // or if(temp==NULL)
solved Compile fails for [Error] ld returned 1 exit status [closed]
change to
at main
struct link *head=NULL;
char choice;
create(value, &head);
at create
if(*head==NULL) // or if(temp==NULL)
solved Compile fails for [Error] ld returned 1 exit status [closed]