Question: Write a C program that create a class of phone, consists of the private properties brand (char array) and country of origin, create another class

Write a C program that create a class of phone, consists of the private properties brand (char array) and country of origin, create another class of cellphone consist of the private properties model, year of production and capacity, use overload to access both classes, each class should have a default constructor, a constructor and a destroyer, use a friend function to print the details of the phone with larger capacity.

A C program please not C++ Thanks

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!