when u want to change a variable ,why u need to keep it as constant ,if u need to change their are ways for removing the constantness for class
as below
The const_cast operator can be used to remove the constantness from a class.
You cannot use the const_cast operator to directly override a constant variable's constant status
A pointer to any object type or a pointer to a data member can be explicitly converted to a type that is identical except for the const qualifiers
if u need to change for data members to change inside a constant member function use mutable
apart from tht their is no option : (
it will lead to undefined behavior ... so be carefull
