What is a parameterized type?

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


Please Help Members By Posting Answers For Below Questions

What is flush c++?

633


How to declare a function pointer?

675


What is the difference between the compiler and the preprocessor?

720


What apps are written in c++?

705


what are the decision making statements in C++? Explain if statement with an example?

749






What is binary object model?

676


What is microsoft c++ redistributable 2013?

667


Write a program which uses functions like strcmp(), strcpy()? etc

717


What is this weird colon-member (" : ") syntax in the constructor?

626


How many types of comments are there in c++?

655


What is abstract keyword in c++?

709


What is conditions when using boolean operators?

695


What is the best c++ compiler for windows 10?

666


What do you mean by function overriding & function overloading in c++?

687


What is c++ course?

661