Address of static data member
Why C++ doesn’t allow taking the address of a static data member when the data member is initialize within the class and doesn’t have an out-of-class definition? How is the storage allocated for static member in this case? The below minimum program demonstrate the issue. #include <iostream> class Test { public: static const int a… Read More Address of static data member