In a class template, the keyword _______ is used to create an instance of the template. 

  • class 
  • new 
  • template 
  • typename
In C++, when defining a class template, the "template" keyword is used. This keyword precedes the class definition and indicates to the compiler that it's a template definition. When creating an instance of the class template, you'll provide specific types for the template parameters, but the definition itself begins with "template".
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *