C++
Programming and Technical
Which is the only operator in C++ which can be overloaded but NOT inherited.
Read Solution (Total 0)
C++ Other Question
When is it necessary to use member-wise initialization list (also known as header initialization list) in C++?
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;
}
};