Phonebook in C with Source Code

The phonebook program in C is a console-based application created using the C programming language. This system is a simple mini project and is compiled in the Code::Blocks IDE using the GCC compiler. In this project, you can add, search, edit, and delete phonebook information.

Moving on, The Phonebook management system in C creates an external file to store the user’s data permanently to perform file handling operations. Phonebook is an extremely straightforward small undertaking in C.

However, It can assist you with understanding the fundamental ideas of capacities, record-taking care of, and information structure. This application will show you how to include, list, change or alter, look at, and erase information to and from the record.

Anyway, Individual data, for example, name, gender, father’s name, contact number, postal code, email, and address are requested while including a record into the Phonebook. These records would be able to be altered, recorded, looked for, and eliminated.

Also, if you want to improve your programming skills, particularly in the C/C++ programming language, check out this new article I wrote for you: Best C Projects with Source Code for Beginners Free Download 2022.

To start creating a Phonebook program in C , make sure that you have Code Blocks or any platform of C installed on your computer.

Plus, read or visit the other interesting languages used in phonebook.


The main purpose of a phone book app is to keep track of the people you call. The phone book app will have basic features like adding a new contact, searching for a contact, updating a contact, and deleting a contact. This small C Phonebook project lets you do simple Phonebook operations just like on your phone.

One can add, list, change, search, and delete records related to the phonebook. File management and data structure ideas have been used a lot in almost every part of this mini project. phonebook application in C is a console program that doesn’t have any pictures.

The source code is full and has no mistakes at all. It is put together with the GCC compiler in Code Blocks. Functions, file handling, and the structure of data are used. This program shows you how to add, list, change, edit, search for, and delete data from or from a file.

The main menu of this Phonebook app lets you add new records, list them, change and update them, search for saved contacts, and delete phonebook records. These are the basic functions.

When adding a record to the phonebook, you are asked for personal information like your name, gender, father’s name, phone number, citizenship number, email address, and address. Then, these records can be changed, put on a list, searched for, and taken away.

Project Name : Phonebook in C
Project Platform :C/C++
Programming Language Used:C Programming Language
IDE Tool (Recommended):Dev-C++/Codeblocks
Project Type :Console Application
Phonebook program in C with Source Code Information

About Phonebook

The Phonebook Project is a very simple tool that helps you learn the basics of creating files, file extensions, and how data is organized. This software shows you how to add, view, edit, change, receive, and delete data from files. 

One of the main things you can do with the main phonebook application (shown in the main menu below) is add new items, view them by logging in, edit and update them, search for saved contacts, and delete data. 

To add a login to the phonebook, you need to know things about the person, like their name, type, identity, phone number, nationality, email address, and address. After that, you can change, look at, search for, and delete this text. It is thought that more than 600 million people use mobile phones around the world, and that number is growing.

The success of cell phones is easy to explain: people always have them with them. When a trader goes from one place to another, he is doing business without business. If the boy gets home late, he can let his parents know.

If your device is giving you trouble, you can ask for help along the way. People use cell phones to talk to each other and to other people. Most informal meetings, like going to the bar, are set up on an anonymous and up-to-date map through a cell phone.

A cell phone can be used in many different ways. There are, however, some problems. Technology wants to reach people everywhere and anywhere, but just because it exists doesn’t mean it can reach all possible people.

The way out of this problem is for customers to share information about their real lives. But now, how mobile users interact with older versions depends on them. In particular, the connection between the user and the general user does not take the situation into account. This makes it hard to know when and why to call.

What is phonebook application?

The Phonebook app includes a basic set of functions for adding, searching for, updating, and deleting new contacts. This mini-C phonebook design enables you to perform basic tasks in your phonebook, such as dialing numbers. You can add text to the phonebook, as well as find, edit, search, and delete entries.

Why phonebook is important?

Because its goal is to find the phone number of a subscriber who has been identified by name and address.

Does the phonebook still exist?

Yes, White pages and phone books are as old as the rotary-dial phone. But both are still online in digital form.

How to create a phonebook program in C?

Time needed: 5 minutes

Mini Project for Phonebook in C with Source Code

  • Step 1: Create a new project.

    First open the code blocks IDE and click “create a new project“.Click Creating new project Mini project for phonebook in c with source code

  • Step 2: Choose console application.

    Second click the “console application” and after that click “next“.Click Console Application Mini project for phonebook in c with source code

  • Step 3: Choose C language.

    Third choose “C language” and click “next“.Choose c Mini project for phonebook in c with source code

  • Step 4: Name your project.

    Fourth name the project you’ve created and click “next” after that click “finish“.Creating Project title c Mini project for phonebook in c with source code

  • Step 5: The actual code.

    You are free to copy the given source code below or download the downloadable source code given.

Downloadable Source Code


That’s how you create Mini Project for Phonebook application in C with Source Code in your projects. You can always expand and try different ways in implementing the Mini Project for Phonebook program in C in your C projects. C is a powerful general-purpose programming language.

It can be used to develop software like operating systems, databases, compilers, and so on. C programming is an excellent language to learn to program for beginners.

Our C tutorials will guide you to learn C programming one step at a time. In this Phonebook program in C with Source Code is free to download and It is easy to understand and manipulate this project and use for education purpose only.


If you have any questions or suggestions about Phonebook Program in C with Source Code  , please feel free to leave a comment below.

1 thought on “Phonebook in C with Source Code”

Leave a Comment