title: When will infinite loops, and recursive functions with no stop conditions, eventually stop?
body: <p>I heard a myth saying that infinite loop or a recursive function with no stop condition will stop when "the stack overflows". Is it right?</p>
  
  <p>For example : </p>
  
  <pre><code>void call()
  {
  call(); 
  } 
  </code></pre>
  
  <p>or </p>
  
  <pre><code>for(;;){;}
  </code></pre>
  
  <p>Will they really stop when the stack overflows?</p>
  
  <p><strong>Update</strong>: If it really stops, can I detect after how many recursive calls?</p>