4. Which of the following statements are true? a) constexpr applies to both objects and functions. b)

Question:

4. Which of the following statements are true?

a) constexpr applies to both objects and functions.

b) All const objects are also constexpr objects.

c) The output from a constexpr function will be known at compile-time if its input arguments are known at compile-time.

d) constexpr functions need not necessarily produce values that are known at compiletime.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: