Question: Suppose we have the following structure declaration: struct applicant { char name[30]; int credit_ratings[3]; }; a. Write a function that takes an applicant structure as
Suppose we have the following structure declaration:
struct applicant {
char name[30];
int credit_ratings[3];
};
a. Write a function that takes an applicant structure as an argument and displays its contents.
b. Write a function that takes the address of an applicant structure as an argument and displays the contents of the pointed-to structure.
Step by Step Solution
3.45 Rating (158 Votes )
There are 3 Steps involved in it
a We need a function prototype to take the applicant structure argument and a second function protot... View full answer
Get step-by-step solutions from verified subject matter experts
