How to change constant values?

Answer Posted / rajesh

use const_cast<...>

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why c++ is better than c language?

567


What jobs can you get with a c++ certification?

588


Is atoi safe?

603


What is rvalue?

682


What is a constructor in c++ with example?

583






Will the following program execute?

564


Can a list of string be stored within a two dimensional array?

579


What is auto used for in c++?

571


Does a derived class inherit or doesn't inherit?

620


Define the process of handling in case of destructor failure?

580


Discuss the possibilities related to the termination of a program before entering the mainq method?

545


Can member data be public?

599


If you push the numbers (in order) 1, 3, and 5 onto a stack, which pops out first a) 1 b) 5 c) 3

840


Write a Program for find and replace a character in a string.

557


When one must use recursion function? Mention what happens when recursion functions are declared inline?

653