How to avoid changing constant values?

Answer Posted / subrat pattnaik

by "mutable" keyword use

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by function overriding & function overloading in c++?

604


Write a program which uses functions like strcmp(), strcpy()? etc

623


what is oops and list its features in c++?

550


What do you understand by a pure virtual member function?

549


What is c++ hash?

624






What are the benefits of operator overloading?

682


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

576


Write a function to perform the substraction of two numbers. Eg: char N1="123", N2="478", N3=-355(N1-N2).

621


What are protected members in c++?

621


Differences between private, protected and public and give examples.

579


Explain data encapsulation?

610


What is the importance of mutable keyword?

585


Explain the difference between new() and malloc() in c++?

622


What is DlgProc?

604


Where and why do I have to put the "template" and "typename" keywords?

586