Why do we need to define a static variable of a class, unlike the other member of a class?

前端 未结 0 876
-上瘾入骨i
-上瘾入骨i 2021-01-25 13:55

Whenever we have a class with some static member variable, why do we need to define it?

Why can\'t we use it directly?

I wanted to see if any memory space would be

相关标签:
回答
  • 消灭零回复
提交回复
热议问题