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 / 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


Please Help Members By Posting Answers For Below Questions

Explain mutable storage class specifier.

1124


What is atoi?

1020


What is the difference between the parameter to a template and the parameter to a function?

1162


How can you link a c++ program to c functions?

1137


Why the usage of pointers in C++ is not recommended ?

1516


What is do..while loops structure?

1201


How do I use arrays in c++?

1053


What does catch(…) mean?

1168


Reverse the Linked List. Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL

848


how to explain our contribution in the project?

3755


How is c++ used in the real world?

1089


Write about the retrieval of n number of objects during the process of delete[]p?

1061


How can virtual functions in c++ be implemented?

1195


What is functions syntax in c++?

1198


What do you mean by overhead in c++?

1139