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

Is c++ free?

0 Answers  


Explain how a pointer to function can be declared in C++?

0 Answers  


Does there exist any other function which can be used to convert an integer or a float to a string?

0 Answers  


What is the difference between #import and #include in c++?

0 Answers  


Write the program for fibonacci in c++?

20 Answers   TATA, Wipro,






Explain the virtual inheritance in c++.

0 Answers  


Can c++ do everything c can?

0 Answers  


How do you print a string on the printer?

0 Answers  


How many keywords are used in c++?

0 Answers  


What is the insertion operator and what does it do?

0 Answers  


Comment on local and global scope of a variable.

0 Answers  


Comment on c++ standard exceptions?

0 Answers  


Categories