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 importance of data sturture in a programming language?
22 Answers L&T, TCS, Wipro,
Write a function that swaps the values of two integers, using int* as the argument type?
Write a corrected statement in c++ so that the statement will work properly. x + y=z;
Write a corrected statement in c++ so that the statement will work properly. if (x = y) x = 2*z;
Why pure virtual functions are used if they don't have implementation / When does a pure virtual function become useful?
Out of fgets() and gets() which function is safe to use?
"How will you merge these two arrays? Write the program Array: A 1 18 22 43 Array: B 3 4 6 20 34 46 55 Output Array: C 1 3 4 6 18 20 22 34 43 46 55"
9 Answers College School Exams Tests, HCL,
Explain virtual class?
Difference between shift left and shift right?
Why struct is used in c++?
What are the different types of Storage classes?
how many controls can we place on single form.