C++ -- type of the division?
<p>I want to make sure that my understanding of the return type of C++ division,</p>

<pre><code>int / int =&gt; return is int?

float / float =&gt; return is which type? float?

double /double =&gt; return is double?

int / double =&gt; return is double?

int / float =&gt; return is float?
</code></pre>

<p>Please correct me if I am wrong.</p>

<p>Thank you</p>
