Why and how to use 'constexpr' in c++?
Example:
const int x = 10 * 10;
Solution:
constexpr int x = 10 * 10;
Example: Solution:Why and how to use 'constexpr' in c++?
const int x = 10 * 10;
constexpr int x = 10 * 10;