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
Get step-by-step solutions from verified subject matter experts
