Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Which programming language should I learn first?

1040


What is the difference between interpreters and compilers?

1103


What is this weird colon-member (" : ") syntax in the constructor?

961


What kind of problems can be solved by a namespace?

1009


What is public, protected, private in c++?

1097


List the issue that the auto_ptr object handles?

965


What are default parameters? How are they evaluated in c++ function?

1124


What are static and dynamic type checking?

1022


What is == in programming?

972


How many different levels of pointers are there?

1149


What is #include cmath?

1036


Why iomanip is used in c++?

1070


Describe new operator and delete operator?

1029


Which c++ operator cannot overload?

918


Why can templates only be implemented in the header file?

1057