Discussion Forum : Templates
Question - How many parameters are legal for non-type template?
Options:
A .  1
B .  2
C .  3
D .  4
Answer: Option D


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 ?
Next Question
Submit Your Solution hear:

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