Question: Which of the following is _not_ a consequence of declaring the member variable count of my_class as static?
- The variable cannot be modified by any part of the code in the same application or thread. However, other threads may modify it.
- The variable exists even when no objects of the class have been defined so it can be modified at any point in the source code.
- The variable is allocated only once, regardless of how many objects are instantiated because it is bound to the class itself, not its instances.
- All objects that try to access their count member variable actually refer to the only class-bound static count variable.
Answer: The correct answer of the above question is Option A:The variable cannot be modified by any part of the code in the same application or thread. However, other threads may modify it.