Hired Company Design Entry Survey Survey Following Items 1 Full Name 2 Age 3 Date Birth 4 Q37275787

You are hired by a company to design an entry survey. The surveyhas the following items:

1. Full name

2. Age

3. Date-of-birth

4. Marital status

5. Gender (0 for male; 1 for female)

6. Phone#

7. Email address

Write a C program to design the above survey using STRUCT in C.The followings are the requirements:

• The survey is taken for 3 people in form of array ofstructure.

• Your main() function calls to a function named printSurvey()to TAKE and PRINT the survey items for these 3 people.

• Define a pointer* and use the pointer to TAKE and PRINTstructure members.


Answer


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.