Question
How many parameters are legal for non-type template?
Answer: Option D
Was this answer helpful ?
The following are legal for non-type template parameters: integral or enumeration type, Pointer to object or pointer to function, Reference to object or reference to function, Pointer to member.
Was this answer helpful ?
More Questions on This Topic :
Question 2. What is a function template? ....
Question 6. What is meant by template specialization? ....
Question 7. Why we use :: template-template parameter? ....
Question 8. Pick out the correct statement. ....
Question 10. What is meant by template parameter? ....
Submit Solution