title: Printing the address of a variable in Fortran 77
body: <p>How can I print the address of a variable in Fortran 77?  Example:</p>
  
  <pre><code>      subroutine foo
  
        integer d3
  c Now I want to print "Address of d3: " followed by its address.
  </code></pre>
  
  <p>The equivalent in C, of course, is</p>
  
  <pre><code>int d3;
  printf("Address of d3: %p\n", &amp;d3);
  </code></pre>
  
  <p>Thanks!</p>