Answer: A template can be used to create a family of classes or function.A template describes a set of related classes or set of related functions in which a list of parameters in the declaration describe how the members of the set vary.Identifiers that represent statements or expressions are called macros.

A template can be used to create a family of classes or function.A template describes a set of related classes or set of related functions in which a list of parameters in the declaration describe how the members of the set vary.Identifiers that represent statements or expressions are called macros. Source: CoolInterview.com

If you have the better answer, then send it to us. We will display your answer after the approval