1 votes 1 votes closed with the note: duplicate of : https://gateoverflow.in/30572/programming int x = 0, i; for (i = 0; i < 10, i++) if (i%2 && x++) x += 2; value of x after execution ? sumit goyal 1 asked Jun 30, 2017 • closed Jun 30, 2017 by pawan kumarln sumit goyal 1 362 views comment Share Follow See all 7 Comments See all 7 7 Comments reply Show 4 previous comments abhishek tiwary commented Jul 1, 2017 reply Follow Share 17 should be the answer when i=even increment x=x++ when i=odd increment x=x+2 0 votes 0 votes sumit goyal 1 commented Jul 1, 2017 reply Follow Share ans. will be 13 bro 1 votes 1 votes priti deshpande commented Jul 1, 2017 reply Follow Share ans : x=18 0 votes 0 votes Please log in or register to add a comment.