title: Returning float in Integer return type
body: <p>What is the reason why the program is not showing an error and converting 0.05f to 0?</p>
  
  <pre><code>int main()
  {
    int a,b;
    cin&gt;&gt;a&gt;&gt;b;
    cout&lt;&lt;a+b;
    return 0.05f;
  }
  </code></pre>