Creating a phonebook using linked list and file operations
I was creating a phonebook in C using single linked list. The issue that I am experiencing in GCC is that at certain lines, GCC is throwing assignment to expression with array type errors. And at certain lines, it is giving me warning like format %s expects an argument of type char*. I have tried without the sorting function by putting it in comments and executing. The program executes and asks for the number, first name and last name. But then only the first name and last name is shown properly. The phone number displays some odd value which looks like the memory address. #include<stdio.h> #i
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.