May 1, 2017 at 6:43am UTC
Equivalent to return ( a = true ) ;
Assign true to a ; return the result of the assignment (the result of the assignment is typically a reference to a ).
May 1, 2017 at 11:46am UTC
I suddenly got this. This is like what happen to" return a++;" and "return ++a".
Thanks,
L
May 2, 2017 at 7:24am UTC
a++ would return a not incremented and ++a would return a incremented.
May 2, 2017 at 9:35pm UTC
> I understand
> return a==true ;
I don't. Surely you may do return a;
May 4, 2017 at 12:15am UTC
ne555 wrote:I don't. Surely you may do return a;
I think the OP means he/she understands what it does.
Last edited on May 4, 2017 at 12:15am UTC