Logo 
Search:

C++ Programming FAQ

Submit Interview FAQ
Home » Interview FAQ » C++ ProgrammingRSS Feeds

Which of the following statement defines more than one generic data type in a class template?

  Shared By: Pedro Silva    Date: Apr 08    Category: C++ Programming    Views: 817

Answer:

Options

I. template <class temp1, class temp2…>
II. template <class temp1; class temp2…>
III. template <class temp1, temp2…>
IV. template <class temp1; temp2…>

Answer : a) template <class temp1, class temp2…>

Share: 
 



Your Comment
  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].


Tagged: