Differentiate between a template class and class template?
Answer Posted / 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 View All Answers
How do you find out if a linked-list has an end? (I.e. The list is not a cycle)
What is the function to call to turn an ascii string into a long?
Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == ) y-= 7; else y = 8; if the value of x is 4 before the nested IFs are executed, what is the value of y after the nested IFs are executed?
write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;
How do we balance an AVL Tree in C++?
Which operations are permitted on pointers?
What is #include math h in c++?
What happens if a pointer is deleted twice?
What is the use of default constructor?
Explain one method to process an entire string as one unit?
Which of the following is evaluated first: a) && b) || c) !
When is dynamic checking necessary?
When do we use copy constructors?
What is endl?
Can constructor be static in c++?