Quantcast

A community for students. Sign up today!

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

malihe

  • 2 years ago

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

  • This Question is Closed
  1. A.Avinash_Goutham
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    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)

  2. A.Avinash_Goutham
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

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

  3. malihe
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

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

    1 Attachment
  4. A.Avinash_Goutham
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    it's pretty much the same try doing it urself

  5. malihe
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

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

  6. A.Avinash_Goutham
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    u shud try it urself else u never gonna learn

  7. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Ask a Question
Find more explanations on OpenStudy

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.