title: How to run a .exe file with command prompt?
body: <p>I am making an online judge. This my school project.</p>
  
  <p>I am taking a <code>.c</code> file from the user. I am able to compile the <code>.c</code> file with command prompt. But I don't know how to run this file. I need to run this file, take input from a text file and save output in a text file. The compilation code was:</p>
  
  <pre><code>    gcc main.c -o HelloWorld
  </code></pre>