title: C Programming How to convert macro to function
body: <p>I need to know how to convert any #define for .c (source) and .h (header) files.</p>
  
  <pre><code>#define ELAPSED_TIME(currentTime, startTime) (currentTime - startTime)
  </code></pre>