1 struct A { 2 int x; 3 }; 4 5 struct B : A { 6 float y; 7 float foo(); 8 }; 9 10 struct C { 11 C(int i = 10); 12 C(const C&); 13 C &operator=(C&); 14 ~C(); 15 }; 16