Hello guys.. i am really new to C++. I feel a bit confused with the using of const in this code.
class B {
private:
int x;
public int func() const { return x; }
}
Viewing at that source code,, what is really functions of const ??
For your appreciation, I say thanks.