Is there a specific name for this type of operators?
Sum += 1;
I've learned it in my first C++ class and used it a ton, but I never knew if there was a name for the short hand.
Is there a specific name for this type of short?
Yes, it's called a compound assignment1 operator.
According to Source3 the specific ones are called
1)Source1, Source2, Source3
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With