Question
What can be passed by non-type template parameters during compile time?
Answer: Option C
Was this answer helpful ?
Non-type template parameters provide the ability to pass a constant expression at compile time. The constant expression may also be an address of a function, object or static class member.
Was this answer helpful ?
More Questions on This Topic :
Question 1. What is meant by template parameter? ....
Question 2. From where does the template class derived? ....
Question 3. Which keyword can be used in template? ....
Question 7. What is other name of full specialization? ....
Question 8. Which is dependant on template parameter? ....
Question 9. Which value is placed in the base class? ....
Question 10. Which is used to get the input during runtime? ....
Submit Solution