What does constexpr indicate?
- A The value or function can be evaluated at compile time
- B The variable is constant at runtime only
- C The function is inline
- D The value is stored in read-only memory
Answer
The value or function can be evaluated at compile time
constexpr moves computation to compile time where possible, and const only promises the value will not be modified.





