P Priyanka Tomar • 35.28K Points Coach Bookmark Embed Report View In MB-Short 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: 49 Filed under category C++ Share
Discusssion
Login to discuss.