title: What's a good example of register variable usage in C?
body: <p>I'm reading through K&amp;R and came to the small section on register variables, and was wondering if people here have some good examples of this put into practice.</p>
  
  <p>From section 4.7 in K&amp;R:</p>
  
  <blockquote>
    <p>The register declaration looks like<br>
         register int  x;<br>
         register char c;</p>
  </blockquote>
  
  <p>To be clear, I'm just hoping to see some cool code samples. I (am pretty sure that I) understand the subject matter so don't feel the need to type up a verbose explanation (unless you want to).</p>