Binary File I/O Operations

Objectives
Use binary files Perform record I/0 using functions like fread() and fwrite (). Access records randomly.
Problem Statement
Write a program to make a menu based Telephone Directory. Provide the user options to:
a. Create new entries.
b. Delete existing records (based on telephone number) c. Modify the records (based on telephone number)
d. Search and display records.
e. Each record contains full name of a person, his address and telephone number. The data should be alphabetically sorted according to the names in binary files.
f. Flash appropriate error messages for appropriate situations.

Kindly provide C code for this ASAP.