title: Is the default value of int 1?
body: <p>After learning from <a href="https://stackoverflow.com/q/11751561/981787">this question</a> that in C++ <a href="https://stackoverflow.com/a/11751575/981787">It is okay to put the name of the variable in parenthesis</a><br>
  I tried this program:   </p>
  
  <pre><code>#include &lt;iostream&gt;
  int main()
  {
      int (a)();
      std::cout &lt;&lt; "if this works then deafult value of int should be " &lt;&lt; a &lt;&lt; std::endl;
      return 0;
  }
  </code></pre>
  
  <p>And got output of <a href="http://ideone.com/MTwDu" rel="nofollow noreferrer">'if this works then deafult value of int should be 1'</a><br>
  So, <strong>is this true?</strong>  </p>
  
  <p>EDIT::<br>
  After reading @james-mcnellis answer when i tried to assign a value to <code>a</code>, it gives an error as <a href="http://ideone.com/u62dh" rel="nofollow noreferrer">assignment of function ‘int a()’</a>.  </p>
  
  <p>so now it is clear that here <code>a</code> is a function not the variable.</p>