Suppose we have the following structure declaration: struct applicant { char name[30]; int credit_ratings[3]; }; a. Write

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 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.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

C++ Primer Plus

ISBN: 9780321776402

6th Edition

Authors: Stephen Prata

Question Posted: