CSC166 ยท 2076 ยท 5 marks
What is meant by template? How can you define function template to return maximum of two integers, floats, or characters? Explain with example.
What is meant by template? How can you define function template to return maximum of two integers, floats, or characters? Explain with example. [5]
Object Oriented ProgrammingChapter 7: Function Templates and Exception HandlingFunction templates