title: Why I am getting zero in float expressions like 1/2?
body: <p>Can please someone explain this behavier :</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  int main(int argc, char **argv){
  
     printf("%f", ( 1 / 2 ) );     
     return 0;
  
  } 
  
  /* output : 0.00000 */
  </code></pre>