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 |
What is Memory Alignment?
Can you help me with this one? Make a program that when a user inputed a Product Name, it will display its price, and when the user inputed the quantity of the inputed product, it will show its total price. The output must be like this: Product Name: Price: Quantity: Total Price: ..this is the list of products to be inputed: Cellphone - 1500 Washing Machine - 5200 Television - 6000 Refrigirator - 8000 Oven - 2000 Computer - 11000 thanks..:D
How much maximum can you allocate in a single call to malloc()?
Write about a nested class and mention its use?
Explain the benefits of proper inheritance.
How many types of casting are there in C++? When is a dynamic cast,static_cast,reinterpret cast used?
What is the purpose of the noexcept keyword?
How can we access protected and private members of a class?
Why is swift so fast?
How do I use arrays in c++?
What is virtual destructor ans explain its use?
Define a way other than using the keyword inline to make a function inline?