<<< Arithmetic Operators | Index | Modulus Operator >>> |
Yields integer quotient
Integer numerator and denominator
No rounding occurs
Examples:
(7 / 4) equals to 1
(17 / 5) equals to 3
int main() { int x = (7 / 4); // x == 1 int y = (17 / 5); // y == 3 return 0; }
<<< Arithmetic Operators | Index | Modulus Operator >>> |