title: Same code but different output in Netbeans C/C++ Project
body: <p>I came across this weird situation in Netbeans C/C++. Here is the situation:
  In my project explorer, under Source Files, I have main.c and problem3.c</p>
  
  <p>In main.c</p>
  
  <pre><code>    #include &lt;stdio.h&gt;
      #include &lt;stdlib.h&gt;
  
      // long BigNumber(){
          // return 600851475143;
      // }
  
  
      int main(int argc, char* argv[]) {
          printf("%lu", BigNumber() );
  
          return (EXIT_SUCESS);
      }
  </code></pre>
  
  <p>In problem3.c</p>
  
  <pre><code>     long BigNumber(){
           return 600851475143;
       }
  </code></pre>
  
  <p>My case is, when I use BigNumber() from problem3.c, it will output <code>403282979527</code>, which is incorrect. But if I use BigNumber() from main.c, it will print <code>600851475143</code>. </p>
  
  <p>Can anyone explain the magic behind? Is it because of the platform, or tools such as <code>make</code>? I'm using Windows 7 32-bit, NetBeans 7.3.1, with MinGW.</p>