title: Is there a difference between foo(void) and foo() in C++ or C?
body: <p>Consider these two function definitions:</p>
  
  <pre><code>void foo() { }
  
  void foo(void) { }
  </code></pre>
  
  <p>Is there any difference between these two? If not, why is the <code>void</code> argument there? Aesthetic reasons?</p>