title: Dereferencing int but casting to a float prints nothing in C
body: <p>C Noob here trying to follow along with some online lectures. In the professors example he shows us that we can read the data stored in an int as a float by doing the following: <code>*(float*)&amp;i</code>. I tried doing this with the following code but nothing happens. I am testing it here: <a href="http://ideone.com/ExmXSW" rel="nofollow noreferrer">http://ideone.com/ExmXSW</a></p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  int main(void) {
      // your code goes here
      int i=37;
      printf("%f", *(float*)&amp;i);
      return 0;
  }
  </code></pre>