You are developing an application where a user’s contact list entries are to be stored. The fields of importance are name, surname, telephone number, and a favourites flag. Assume that the name and surname will not exceed 20 characters in length and that the telephone number is 10 digits. The favourites flag indicates whether the contact is a favourite or not. Assume that the maximum number of contact list entries is unknown and that the C programming language is used
a) What would be the most appropriate data structure to use when implementing the contact list? Think about the operations that would need to be performed on a contact list. b) Motivate your answer in b.)
c) Declare a structure type called contact on paper. In other words, create a structure in C (struct)that will satisfy the requirements as stated in the question.
d) Determine the amount of memory that will be reserved in RAM for an element in the list of type contact . Assume a variable of type int occupies 4 bytes.
Enjoy 24/7 customer support for any queries or concerns you have.
Phone: +1 213 3772458
Email: support@gradeessays.com