title: Is relational comparison between int and float directly possible in C?
body: <p>I am using Visual Studio 6 with some old time code written in c. I found an issue where the code looks like this..</p>
  
  <pre><code>int x = 3;
  float y = 3.0;
  
  if(x == y){
     do some crazy stuff
  }
  </code></pre>
  
  <p>is this a valid comparison? is it possible at run time the allocation for the float is 3.0000001 and this would fail?</p>