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
What is math h in c++?
What is the difference between an array and a list?
What is dev c++ used for?
write a c++ program to create class student having datamember name,Roll_no,age,and branch intilcization all the member using constructor print the all the details on the screen.
Can we define function inside main in c++?
What does it mean to declare a member variable as static?
Is vector a class in c++?
what Is DCS ? what i will get benefit when i did?
What are literals in C++?
Explain stack unwinding.
Mention the storage classes in c++.
How many types of comments are there in c++?
Which is the best c++ compiler for beginners?
What is the difference between ++ count and count ++?
What are c++ variables?