Differentiate between a template class and class template?



Differentiate between a template class and class template?..

Answer / beena

Template class:

A generic definition or a parameterized class not instantiated until the client provides the needed information. It’s jargon for plain templates.

Class template:

A class template specifies how individual classes can be constructed much like the way a class specifies how individual objects can be constructed. It’s jargon for plain classes.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

What is the use of vtable?

0 Answers  


How are pointers type-cast?

0 Answers   iNautix,


what is Loop function? What are different types of Loops?

0 Answers  


What is the iunknown interface?

0 Answers  


What is the header file for setw?

0 Answers  






In which situation the program terminates before reaching the breakpoint set by the user at the beginning of the mainq method?

0 Answers  


What is microsoft c++ redistributable 2013?

0 Answers  


Why do we use structure in c++?

0 Answers  


Why do we use string in c++?

0 Answers  


What is the auto keyword good for in c++?

0 Answers  


How would perform Pattern Matching in C++?

0 Answers   Genpact,


A mXn matrix is given and rows and column are sorted as shown below.Write a function that search a desired entered no in the matrix .with minimum complexity 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

0 Answers  


Categories