Understanding the Behavior of i + ++i in D Language
IchorDev
zxinsworld at gmail.com
Sat Aug 24 06:39:24 UTC 2024
On Friday, 23 August 2024 at 09:49:27 UTC, Nick Treleaven wrote:
> On Friday, 23 August 2024 at 09:42:38 UTC, Nick Treleaven wrote:
>> C++: undefined, could be `6 + 6` if the increment is done
>> first. g++ gives me a warning with `-Wall`:
>
> You asked about C, for some reason I used C++.
I think the `++` might’ve infected your thought process.
More information about the Digitalmars-d-learn
mailing list