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 3 question pointers with the following data:
Question: "What", Answer: 'Nothing', value =4
Question: "Why", Answer: 'Because', value =5
Question: "When", Answer: 'Never', value =2
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 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!