C++ Programming and Technical

What is a modifier?

Read Solution (Total 0)

C++ Other Question

Is there anything wrong with this C++ class declaration?
class temp
{
int value1;
mutable int value2;
public :
void fun(int val)
const{
((temp*) this)->value1 = 10;
value2 = 10;
}
};
What is an accessor?