Question: :ADVANCE C PROGRAMMING 1. Create a Family structure containing members such as the family head's name (head_ name), the total number of members (tot_mem), the
:ADVANCE C PROGRAMMING
1. Create a "Family" structure containing members such as the family head's name
(head_ name), the total number of members (tot_mem), the family total income
(tot_income), andthe family total expenditure (tot_exp). Create an array of structures
of type Family.Thencreate an array of pointers to point each structure. Perform the
following action:
(i) Display the details of the family that earns the maximum income
(ii) Sort the family based on money spent.
[To access the members of the structure, use pointers] .
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
