1 #include <stdio.h> 2 3 class A 4 { 5 public: 6 static int getStaticValue(); 7 int getMemberValue(); 8 int a; 9 }; 10 11 int A::getStaticValue() 12 { 13 return 5; 14 } 15 16 int A::getMemberValue() 17 { 18 return a; 19 } 20 21 int main() 22 { 23 A my_a; 24 25 my_a.a = 3; 26 27 printf("%d\n", A::getStaticValue()); // Break at this line 28 printf("%d\n", my_a.getMemberValue()); 29 } 30