Q. Which of the following is true about function templates in C++?
β
Correct Answer: (A)
They allow functions to work with any data type
Explanation: Function templates allow writing generic functions that work with multiple data types.