2079 9

Object Oriented Programming20795 marksFunction templates with multiple arguments

Write a program to implement function template with multiple arguments.

Write a program to implement function template with multiple arguments. [5]

A function template allows writing a generic function that works with different data types. When a template uses more than one parameter, it is called a function template with multiple arguments. Syntax: --- --- --- Template Call T1 T2 Description ------------ display(10, 20) int int Both argumen...

Up nextWrite a program to illustrate the use of seekg() and tellg().