Explanatory Question
How many times will the following loop execute? What value will be returned?
int x = 2, y = 50;
do{
++x;
y -= x++;
}while(x <= 10);
return y;
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.