title: debug assertion failed - argc and argv
body: <p>I try to compile this little simple program, but i get "debug assertion failed", can someone explain why?</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;stdlib.h&gt;
  
  #define answer 3.14
  
  void main(int argc, char **argv) 
  {
       float a = strtod(argv[1], 0);
  
       printf("You provided the number %f which is ", a);
  
  
       if(a &lt; answer)
            puts("too low");
       else if(a &gt; answer)
            puts("too high");
       else if (a == answer)
            puts("correct");
  }
  </code></pre>
  
  <p><strong>How to use:</strong></p>
  
  <p>Open CMD and drag this .exe into it, then write a space followed by a number and hit enter. E.g.   <code>C:\test.exe 240</code></p>