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
Explain mutable storage class specifier.
What is atoi?
What is the difference between the parameter to a template and the parameter to a function?
How can you link a c++ program to c functions?
Why the usage of pointers in C++ is not recommended ?
What is do..while loops structure?
How do I use arrays in c++?
What does catch(…) mean?
Reverse the Linked List. Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL
how to explain our contribution in the project?
How is c++ used in the real world?
Write about the retrieval of n number of objects during the process of delete[]p?
How can virtual functions in c++ be implemented?
What is functions syntax in c++?
What do you mean by overhead in c++?