How to avoid changing constant values?

Answers were Sorted based on User's Feedback



How to avoid changing constant values?..

Answer / jack

using const keyword with the variable.....

Is This Answer Correct ?    4 Yes 1 No

How to avoid changing constant values?..

Answer / subrat pattnaik

by "mutable" keyword use

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More C++ General Interview Questions

What do you mean by funtion prototype?

0 Answers  


explain the reference variable in c++?

0 Answers  


How can I learn dev c++ programming?

0 Answers  


What is the difference between #import and #include in c++?

0 Answers  


What are c++ files?

0 Answers  


Is c++ vector dynamic?

0 Answers  


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

0 Answers  


Is there structure in c++?

0 Answers  


Explain selection sorting?

0 Answers  


Is c++ built on c?

0 Answers  


How many types of casting are there in C++? When is a dynamic cast,static_cast,reinterpret cast used?

2 Answers   CTS,


What is the c++ programming language used for?

0 Answers  


Categories