What is the difference between const and constexpr?
Answer Posted / hr@tgksolutions.com
• 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
Which compiler does turbo c++ use?
Explain rtti.
Why we use #include conio h in c++?
Explain the concept of memory leak?
What is the use of cmath in c++?
What are advantages of using friend classes?
Tell me an example where stacks are useful?
What does I ++ mean in c++?
What is the purpose of extern storage specifier?
What is token c++?
Difference between pass by value and pass by reference?
Is overriding possible in c++?
In a function declaration, what does extern mean?
Is facebook written in c++?
Explain the concept of copy constructor?