title: Calling a FORTRAN subroutine from C
body: <p>I am trying to call a FORTRAN function from C</p>
  
  <p>My questions are:</p>
  
  <ol>
  <li><p>If <code>fortRoutine</code> is the name of my fortran subroutine, then I am calling this from C
  as <code>fortRoutine_</code>. If <code>fortRoutine</code> contains only one character array argument, then can I pass like this:</p>
  
  <pre><code>fortRoutine_("I am in fortran");
  </code></pre></li>
  <li><p>While calling FORTRAN subroutines, when should I use pass by value and when pass by reference?</p></li>
  </ol>
  
  <p>As I am new to C, I do not have a clue about this. If possible, please suggest some good tutorial links as well.</p>