What is the difference between const and constexpr?
Answer Posted / nashiinformaticssolutions
o const: The value is constant and determined at runtime or compile-time.
o constexpr: The value is constant and must be computed at compile-time.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the important differences between c++ and java?
Can member data be public?
What is array give example?
Which sort is best for the set: 1 2 3 5 4 a) Quick Sort b) Bubble Sort c) Merge Sort
can any one help to find a specific string between html tags
which is changed to a sting..
weather.html looks (for location) is
If a function doesn’t return a value, how do you declare the function? Explain "const" reference arguments in function? How do you invoke a base member function from a derived class in which you have not overridden that function? Differentiate between declaration and definition. What is difference between class and function? What is meant by the term name mangling in c++? What is difference between rand () and srand ()? Will the following program execute? Is c++ the best programming language? What do manipulators do?