What is a template?

Answer Posted / yughandhar

Templates is one of the features added to c++ recently.a
template can be considered as a kind of macro.
Templates are mainely used for creating the generic classes

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is there no multiple inheritance?

712


What is abstract class in oop?

676


What is property in oops?

732


Why is abstraction used?

782


What is object and class in oops?

737






What is difference between multiple inheritance and multilevel inheritance?

776


What is difference between pop and oop?

752


2. Give the different notations for the class.\

1732


Write a program to reverse a string using recursive function?

1943


What is multilevel inheritance?

881


Whats is abstraction in oops?

776


What is polymorphism and its types?

739


What is destructor oops?

777


What do you mean by Encapsulation?

769


What is a function in oop?

776