What is a template?

Answer Posted / rakesh kumar

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 ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the features of oop?

635


Write a program to reverse a string using recursive function?

1788


What is purpose of inheritance?

643


What is destructor oops?

619


Can you explain polymorphism?

578






Are polymorphisms mutations?

696


What is encapsulation oop?

574


Advantage and disadvantage of routing in telecom sector

784


What is overloading and its types?

612


What is difference between oop and pop?

611


Which is not an object oriented programming language?

537


What are the benefits of polymorphism?

619


Can static class have constructor?

582


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2101


i am getting an of the type can not convert int to int *. to overcome this problem what we should do?

1833