Inheriting static attributes
I'm unsure of this (I apologize in advance if any of the terminology/syntax is off) --
Say class A is an abstract class (has some/but not all pure virtual operations).
Class A also has public 'static int temp' attribute. (pretend temp is used by the not-pure-virtual A operations).
Say class B and class C both inherit from A
Do classes B, C each get their own copy of temp, or is temp shared by all subclasses of A?
ie. if I did this.
B::temp = 5;
C::temp = 6;
What does B::temp = ?