What is a parameterized type?



What is a parameterized type?..

Answer / 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

More C++ General Interview Questions

what is the use of templates?

3 Answers  


What is runtime errors c++?

0 Answers  


Is c better than c++?

0 Answers  


What is array give example?

0 Answers  


How is memory managed in C++?

2 Answers  


Can you pass an array to a function in c++?

0 Answers  


What is split a string in c++?

0 Answers  


Explain RAII (Resource Acquisition Is Initialization).

3 Answers  


How many keywords are used in c++?

0 Answers  


In int main(int argc, char *argv[]) what is argv[0] a) The first argument passed into the program b) The program name c) You can't define main like that

0 Answers  


What is flush c++?

0 Answers  


What are the vectors in c++?

0 Answers  


Categories