A Admin • 833.24K Points Coach Q. Which of the following is the correct way to declare a function template in C++? (A) template <typename T> T myFunction(T a) { } (B) template <class T> T myFunction(T a) { } (C) Both A and B (D) None of the above Correct Answer - Option(C) Views: 34 Filed under category C++ Hashtags: Share Manage Tags
Discusssion
Login to discuss.