What is a template?

Answer Posted / yughandhar

template is a kind of macro to create generic classes and
generic functions to do a specific task

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is polymorphism used?

752


What is the difference between a mixin and inheritance?

707


They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1596


Why do we use inheritance?

799


Is enum a class?

773






What is polymorphism programming?

813


What is polymorphism explain its types?

886


What is the importance of oop?

810


can inline function declare in private part of class?

3936


Whats is abstraction in oops?

804


What does I oop mean?

810


2. Give the different notations for the class.\

1780


hi all..i want to know oops concepts clearly can any1 explain??

1868


write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

1865


What is polymorphism and why is it important?

745