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 |
Please explain the reference variable in c++?
Mention the ways in which parameterized can be invoked. Give an example of each.
Is multimap sorted c++?
What are pointers, when declared, intialized to a) NULL b) Newly allocated memory c) Nothing. Its random
Can the creation of operator** is allowed to perform the to-the-power-of operations?
write a corrected statement so that the instruction will work properly. if (4 < x < 11) y = 2 * x;
Why for local variables the memory required to hold the variable is allocated from the program stack and for new its allocated from the heap?
How to stop conversions among objects?
What are the different data types present in C++?
What is private inheritance?
What is the difference between #import and #include?
Discuss the effects occur, after an exception thrown by a member function is unspecified by an exception specification?