this question is based on short circuiting concept .

here (x && y && z++)// x=1,y=0,z=5

when (x && y ) is done, we get 0 ; so basically ANDing of anything with 0 is 0, so here shortcircuiting comes into picture and any operation later on is ignored(i.e. z++).

Z=5

if any operand in logical and(&&) is non-negative then output will be false

so in this exprssion z doesnot gets increemented

therefore z remains 5

5

concept .short circuitingz=5.but ++ operator having higher precedence than && operator ...so why not z++ is executed first ??