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