Advanced Arithmetic Operations on Integers

This lesson is a continuation of the previous lesson, and it explores some advanced arithmetic operations that we can perform with integers in D.

Arithmetic operations with assignment #

All of the operators that take two expressions have assignment counterparts. These operators assign the result back to the expression that is on the left-hand side:

Get hands-on with 1200+ tech skills courses.