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 do..while loops structure?
What is diamond problem in c++?
daily Routine of father
A prime number is a number which is divisible only by itself and 1. Examples of the first few primes are 2, 3, 5, 7, 11. Consider writing a program which can generate prime numbers for you. Your program should read in and set a maximum prime to generate and a minimum number to start with when looking for primes. This program should be able to perform the following tasks: 1. Read the maximum number from user (keyboard input) to look for primes. The program should not return any primes greater than this number. 2. Read the minimum number from user (keyboard input) to look for primes. The program should not return any primes less than this number. 3. Generate and print out every prime number between the maximum prime and minimum number specified by the user.
What is the word you will use when defining a function in base class to allow this function to be a polimorphic function?
Is it possible to use a new for the reallocation of pointers ?
Is c or c++ more useful?
How long does it take to get good at leetcode?
What is the basic structure of a c++ program?
Explain the difference between new() and malloc() in c++?
Is recursion allowed in inline functions?
Difference between Abstraction and encapsulation in C++?
an integer constant must have atleast one a) character b) digit c) decimal point
What are the 3 levels of programming languages?
What is the full name of logo?