--- In [email protected], Asad Abbas <cyberstuden...@...> wrote: > > CODE: > > int i,j=2,k=4; > i=(j>3)&&(++k==6);
Because (j>3) is false, the expression after the && is not evaluated. http://en.wikipedia.org/wiki/Short-circuit_evaluation
--- In [email protected], Asad Abbas <cyberstuden...@...> wrote: > > CODE: > > int i,j=2,k=4; > i=(j>3)&&(++k==6);
Because (j>3) is false, the expression after the && is not evaluated. http://en.wikipedia.org/wiki/Short-circuit_evaluation