main.cpp 211 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 struct A { public: static int getStaticValue() { return 5; } int getMemberValue() { return a; } int a; }; int main() { A a; a.a = 3; return A::getStaticValue() + a.getMemberValue(); // Break here }