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 implicit member functions of class?
Why do we use using namespace std in c++?
What problems might the following macro bring to the application?
Which c++ compiler is best?
Can comments be nested?
How would you use the functions sin(), pow(), sqrt()?
What are exceptions c++?
Explain explicit container.
write a program that withdrawals,deposits,balance check,shows mini statement. (using functions,pointers and arrays)
What is a syntax in c++?
Can a constructor return a value?
What is an adjust field format flag?
Is there any difference between int [] a and int a [] in c++?
Am pass the 10000 records to target in target I will take commit interval 15000 when I was stop the work flow what will happened
What is a float in c++?