Question: Using the above definition, write a main ( ) function that will create a vector containing 3 question pointers with the following data: Question: What,
Using the above definition, write a main function that will create a vector containing question pointers with the following data:
Question: "What", Answer: 'Nothing', value
Question: "Why", Answer: 'Because', value
Question: "When", Answer: 'Never', value
Write code that will print those questions.
Assume that all the #includes and set namespace things are already there.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
