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 c++ library?
Is there anything you can do in C++ that you cannot do in C?
What do you know about near, far and huge pointer?
what do you mean by volatile variable?
What is setfill c++?
What does h mean in maths?
What is the first name of c++?
What return value must conversion operators have in their declaration?
Define token in c++.
Problem 5: Hero's Formula is A method for calculating the area of a triangle when you know the lengths of all three sides. Let a, b, c be the lengths of the sides of a triangle. The area is given by:A= pp-ap-b(p-c) | wherep= a+b+c2 | | Write a C-language code to calculate area of triangle using above method. Take the three lengths of the triangle from the user and display the area that your program calculates.
What is lambda expression c++?
Explain RAII (Resource Acquisition Is Initialization).