Prefix/Postfix
#5

The only difference between prefix and postfix operators is in the result of these. In postfix, a temporary object is created, the operation is applied, and the temporary is returned: the object before the operation is applied. In prefix, the operation is applied and the fixed object is returned, without the use of a temporary: the object after the operation is applied.
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)