You are hired by a company to design an entry survey. The surveyhas the following items:
- Full name
- Age
- Date-of-birth
- Marital status
- Gender (0 for male; 1 for female)
- Phone#
- 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 namedprintSurvey() to TAKE and PRINT the survey itemsfor these 3 people.
- Define a pointer* and use the pointer to TAKE and PRINTstructure members.
- ****Prompt accordingly, or you will lose 5 points eachtime I do not know what to enter or what is printed.
Answer
OR
OR