Take FREE!! Online Mettl Mock Test to Crack TechM and Other Companies Written Exams.
Get Off-Campus Placement Jobs Info !!!
TCS NQT Technical and Managerial Round Interview Questions
Technical Discussion :: C++

105 / 184

Define class templates with multiple parameters?

Answer:

We can use more than one generic data types in a class template. They are declared as a comma separated list within the template specification as shown below:
Syntax:

Template
Class classname
{
----------
---------- ( body of the class)
};

Asked In ::

Post Your Answer Here:


Rate This: +0 -0     
Report    

Post Your Reply Here:

Alert me
q4i-reply-your-answer

Report Error

Please Login First Click Here

Most Popular Qs.