How to access static class variable in static member function of same class?
<p>I provide my sample:</p>

<pre><code>  class a
  {
      public:
           static int m_n;
           static  int memfuc();
  };
  int a::memfuc()
  {
        int k =m_n;
         return k;
  }
</code></pre>

<p>But the following sample throws linker error: unresolved external symbols</p>
