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

1 Expert Approved Answer
Step: 1 Unlock

a We need a function prototype to take the applicant structure argument and a second function protot... View full answer

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 Introduction Java Program Questions!