What can be passed by non-type template parameters during compile time?

a) int
b) float
c) constant expression
d) string

1 thought on “ What can be passed by non-type template parameters during compile time?”

  1. c
    Explanation: 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.

Leave a Comment