What is better in this case, macro of inline function?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1137575/inline-functions-vs-preprocessor-macros">Inline functions vs Preprocessor macros</a><br>
  <a href="http://stackoverflow.com/questions/7738888/what-is-concept-of-inline-function-and-how-it-is-differ-from-macro">what is concept of Inline function and how it is differ from macro?</a>  </p>
</blockquote>



<pre><code>inline unsigned int getminutes( unsigned int seconds )
{
    return( seconds / 60 );
}

#define GetMinutes(seconds) (seconds) / (60)
</code></pre>

<p>To be honest I'd ask which one is <strong>faster</strong>, but I've seen so much on S.O that asking which one is better would grant me me knowledge. (Yes! I'm a knowledge hunter)</p>
