title: How to change default output file of g++ in ubuntu?
body: <p>Trivially</p>
  
  <pre><code>g++ sample.c
  </code></pre>
  
  <p>generates <code>a.out</code></p>
  
  <p>Can g++ be configured to output to a different default name for output file ?</p>