I provide my sample:

```
  class a
  {
      public:
           static int m_n;
           static  int memfuc();
  };
  int a::memfuc()
  {
        int k =m_n;
         return k;
  }

```

But the following sample throws linker error: unresolved external symbols