title: What does A a() mean?
body: <p>Consider this code:</p>
  
  <pre><code>#include&lt;iostream&gt;
  using namespace std;
  
  class A
  {
      public:
      A():age(12){}
      int age;
  };
  
  int main()
  {
      A a();
      cout &lt;&lt; a.age &lt;&lt; endl;
      return 0;
  }
  </code></pre>
  
  <p>When I compile it using g++, I get an error:</p>
  
  <blockquote>
    <p>you can not see the member age, because a is not a class A()</p>
  </blockquote>
  
  <p>Can someone explain this to me? What is <code>A a()</code>?</p>