Home /
Expert Answers /
Computer Science /
classes-figure-3-pronoun-and-verb-clase-hierarchies-12-consider-the-pronoun-and-verb-classes-fig-pa862
(Solved): classes Figure 3. Pronoun and Verb clase hierarchies. 12. Consider the Pronoun and Verb classes (Fig ...
classes
Figure 3. Pronoun and Verb clase hierarchies. 12. Consider the Pronoun and Verb classes (Fig. 3), and define the sentence function as follows: void sentence(const Pronoun \&p, const Verb kv) \( f \) 3 (a) What is the output of the function call below? sentence(PluralPronoun(). PastTenseVerb () ); (b) The sentence function can be overloaded using a template. Fill in the body of the template function below so that it produces the same output as non-template version. template