Ask your own question, for FREE!
Computer Science 8 Online
OpenStudy (anonymous):

can some one help making phone book with linked list in c?

OpenStudy (anonymous):

sure #define size 30 struct Node{ char name[size]; int number; struct Node *next; }; typedef struct Node node; void add() { node *new=(node*)malloc(sizeof(node)); if(new)

OpenStudy (anonymous):

if(new) { printf("enter the name:"); scanf("%s",new->name); printf("enter the number:"); scanf("%d",&new->number); } }

OpenStudy (anonymous):

thanks but it must contain all in the file that i put

OpenStudy (anonymous):

it's pretty much the same try doing it urself

OpenStudy (anonymous):

but it's not home work now tomorrow i have c exam and it may be sth like this in the exam

OpenStudy (anonymous):

u shud try it urself else u never gonna learn

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!