I want to make sure that my understanding of the return type of C++ division,
int / int => return is int? float / float => return is which type? float? d
Roughly speaking, in C++, in any scenario, both operands are converted to the "largest" type of the two operands' types before the operation is executed. See MSDN Standard Arithmetic Conversions.