title: Is there a difference between float(x)/y and x/float(y)?
body: <pre><code>#include &lt;iostream&gt;
   using namespace std ;
    int main ()
    {
  
       int x,y ;
       x= 7 , y=3 ;
        cout&lt;&lt;float(x) /y &lt;&lt; endl ; 
  
    }
  </code></pre>
  
  <p>What is the difference between <code>float(x)/y</code> and <code>x/float(y)</code>?</p>