Can you please tell me how i can change this line ?
newptr->ID = NUM;
printf ("%d",NUM);
newptr->nextptr=(node*)malloc(sizeof(node));
newptr=newptr->nextptr;
Can you please tell me how i can change this line ?
newptr->ID = NUM;
printf ("%d",NUM);
newptr->nextptr=(node*)malloc(sizeof(node));
newptr=newptr->nextptr;