Question: Write a program which create an array of pointers to employee struct of 4 elements An employee has a Name,ID , Department,Salary. In read function:
Write a program which create an array of pointers to employee struct of elements
An employee has a Name,IDDepartment,Salary.
In read function: enter the values to each employee.
In maxSalary function: print the details of employee who have the max salary.
In searchByIDandDepartment function: print the details of employee in specific department and specific ID
Write a main function to test your code.
in c
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
