[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.
Technical Discussion :: C++

107 / 187

Explain function templates with multiple parameters?

Answer:

Like template class we can use more than one generic data type in the template statement, using comma separator
Syntax:
Template
return type function name(argument of type T1,T2,…)
{
………..
//body of function

}

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.