← All projects
Capstoneintermediate6h

C Contact Book

Design (on paper/in guided steps, since this platform can't execute C) a command-line contact book in C, applying structs, arrays, pointers, and manual memory management.

Tracks: C Programming

Objectives

  • Design a Contact struct (name, phone, email) and a dynamically-resizable array of contacts using malloc/realloc
  • Write functions to add, search (by name), and remove a contact, passing the contact array by pointer
  • Free all allocated memory correctly before the program exits, with no leaks
  • Read/write the contact list to a text file so data survives between runs

Before you start

Milestones

0%

References