title: goto vs return for submenus and menus in C programming
body: <p>I I have a really quick question.
  Which is more "standard" to use?
  goto or returning a function?</p>
  
  <p>goto example:</p>
  
  <pre><code>main(){
     start:
     //some code
     goto start;
  }
  
  main(){
     //some code
     return main();
  }
  </code></pre>
  
  <p>Both will loop the script.
  but I am wondering which one is more proper to use.</p>
  
  <p>goto seems to be really good, but are there any disadvantages to using it? (I'm just wondering because an instructor failed a fellow student because of the goto function O.o and I'm wondering why, or what he did was reasonable.)</p>
  
  <p>If you're asking why ask this, I am trying to create a menu with a submenu, where the submenu contains a "back" option (Where I would either use goto or return)</p>