Question: Please explain answer 20. (12 pts) Finish the program below by adding a void function as specified below. Add only a function prototype, function call

 Please explain answer 20. (12 pts) Finish the program below by

Please explain answer

20. (12 pts) Finish the program below by adding a void function as specified below. Add only a function prototype, function call statement and function definition to the following program The name of the void function is InitStruc The function has one parameter of the struct Data Type Name. The function is to initialize each member of the structure parameter with a value of "NoName". The information stored in the parameter must be available in main0 after the function call. #include using namespace std; struct Name string first; string middle; string last; // Place the function prototype below this line int main ) Name person; // Place the function call statement below this line return 0 Place the function definition below this line

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!