0 votes 0 votes int a=10 if(i++<10),if(++i<10).,while(i++<10) what is logic behind amit166 asked Nov 20, 2018 amit166 180 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes For i++, It will check if 10 is less than 10 and then increment the value to 11. for ++i It will check if 11 is less than 10 (preincrement) Similarly, for while(i++ < 10) It will check if 10 is less than 10 and then increment value to 11. `JEET answered Nov 20, 2018 `JEET comment Share Follow See all 0 reply Please log in or register to add a comment.