Home » C++ Programming » Templates » Question
  1. How many parameters are legal for non-type template?
    1. 4
    2. 3
    3. 2
    4. 1
    5. None of these
Correct Option: A

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.



Your comments will be displayed only after manual approval.