2079 9

CSC166 ยท 2079 ยท 5 marks

Write a program to implement function template with multiple arguments.

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

Object Oriented ProgrammingChapter 7: Function Templates and Exception HandlingFunction templates with multiple arguments

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...