0 votes 0 votes while (++x){ } here ++x is executed first and then condition is checked or first condition is checked then ++x Programming in C programming-in-c + – Akriti sood asked Jan 12, 2017 Akriti sood 314 views answer comment Share Follow See all 4 Comments See all 4 4 Comments reply santhoshdevulapally commented Jan 12, 2017 reply Follow Share ++x is pre incremet.so first 'x' is incremented then check the condition. 2 votes 2 votes Akriti sood commented Jan 12, 2017 reply Follow Share same in case of a[++x] i.e array access? 0 votes 0 votes santhoshdevulapally commented Jan 12, 2017 reply Follow Share yes. 0 votes 0 votes Akriti sood commented Jan 12, 2017 reply Follow Share thanks @santhosh..:-) 0 votes 0 votes Please log in or register to add a comment.