Answer Posted / beena
A template is a parameterized construct or type containing generic code that can use or manipulate any type. It is called parameterized because an actual type is a parameter of the code body. Polymorphism may be achieved through parameterized types. This type of polymorphism is called parameteric polymorphism. Parameteric polymorphism is the mechanism by which the same code is used on different types passed as parameters.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a c++ vector?
What is one dimensional array in c++?
What is c++ used for in games?
What is #include math h in c++?
Give the difference between the type casting and automatic type conversion. Also tell a suitable C++ code to illustrate both.
Is swift a good first language?
How many different levels of pointers are there?
What is the return value of the insertion operator?
What is size of string in c++?
If dog is a friend of boy, is boy a friend of dog?
What is the basic concept of c++?
Program to check whether a word is a sub-string or not of a string typed
Which one is a preferred language C or C++? Why?
Can you please explain the difference between static and dynamic binding of functions?
What is the difference between function overloading and operator overloading?