title: Reference variable in class definition
body: <p>I am learning C++, and I read that all references must be initialized upon declaration,
  and there can be no "uninitialized references". But what if the reference variable is a class member?</p>
  
  <pre><code>class test
  {
      int &amp;k;
  };
  
  int main()
  {
      test *abc = new test;
  }
  </code></pre>
  
  <p>This program compiles and runs normally (in g++, no warnings). However, <code>abc-&gt;k</code> is a reference, but what is it initialized to? Or, is it an "uninitialized reference" of some sort, or something else?</p>