Prefix/Postfix
#1

I was reading a tutorial about the different type of loop structures (Link) and noticed something talking about prefix and postfix. The only difference it mentioned about the two was that it evaluated the operator before the variable and vice versa.

Код:
--myVariable //prefix
myVariable-- //postfix
Other than what they explained as the difference was, is there any other differences that would make it more efficient/useful in one set of conditions than in others?
Reply


Messages In This Thread
Prefix/Postfix - by DTV - 10.11.2016, 01:00
Re: Prefix/Postfix - by Micko123 - 10.11.2016, 08:02
Re: Prefix/Postfix - by PrO.GameR - 10.11.2016, 09:41
Re: Prefix/Postfix - by RoboN1X - 10.11.2016, 11:04
Re: Prefix/Postfix - by SyS - 10.11.2016, 11:38

Forum Jump:


Users browsing this thread: 1 Guest(s)