What is the difference between const and constexpr?
Answer Posted / nashiinformaticssolutions
• const: Value remains constant; evaluated at runtime.
• constexpr: Evaluated at compile time for optimization.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between #define debug 0 and #undef debug?
Differentiate between realloc() and free().
why is c++ called oops? Explain
How is c++ used in the real world?
How is computer programming useful in real life?
What are function prototypes?
Why do we use classes in c++?
Which is not an ANSII C++ function a) sin() b) tmpnam() c) kbhit()
What are the advantages of c++ over c?
What is an incomplete type in c++?
Is vector a class in c++?
Can a list of string be stored within a two dimensional array?
What are the extraction and insertion operators in c++? Explain with examples.
What is one dimensional array in c++?
Explain this pointer?