What is the difference between const and constexpr?
Answer Posted / glibwaresoftsolutions
• 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
Is c# written in c++?
What do you mean by funtion prototype?
Is swift faster than go?
Will a recursive function without an end condition every quit, in practice a) Compiler-Specific (Some can convert to an infinite loop) b) No c) Yes
Explain how the virtual base class is different from the conventional base classes of the opps.
Differentiate between a pointer and a reference with respect to c++.
What is static class data?
daily Routine of father
Write a program which uses functions like strcmp(), strcpy()? etc
What are the advantages of c++? Explain
What is a literal in c++?
What is rvalue?
What are shallow and deep copies?
What is c++ namespace?
Is atoi safe?