What is the role of the const keyword in C++? Where it can be used? Justify it
Fantastic news! We've Found the answer you've been seeking!
Question:
What is the role of the “const” keyword in C++? Where it can be used? Justify it using appropriate examples?
Identify the feature in C++ through which data members can be shared among all the objects of the class. Also explain the concept and situation with code, where this feature can be implemented.
Related Book For
Posted Date: