InterviewSolution
Saved Bookmarks
| 1. |
What can be passed by non-type template parameters during compile time?(a) int(b) float(c) constant expression(d) stringI have been asked this question in exam.Query is from Function Templates topic in division Derived Classes, Templates & Exception Handling in C++ of C++ |
|
Answer» The CORRECT CHOICE is (c) CONSTANT EXPRESSION |
|