in reply to Doubt in the result which I got from (In|De)crement operators

Quoting Abigail-II:
Modifying the same variable using auto-increment/decrement more than once in the same statement gives undefined behaviour.

See Quantum Weirdness and the Increment Operator

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
  • Comment on Re: Doubt in the result which I got from (In|De)crement operators