Question
Which parameter is legal for non-type template?
Answer: Option A
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 1. What is meant by template specialization? ....
Question 2. Why we use :: template-template parameter? ....
Question 3. Pick out the correct statement. ....
Question 5. What is meant by template parameter? ....
Question 6. From where does the template class derived? ....
Question 7. Which keyword can be used in template? ....
Submit Solution