Answer:
3
Explanation:
do-while is the loop statement used for executing the part of the code again and again until the condition not false.
when the condition is false, the program terminates the loop statement and starts executing the next of the do-while statement.
It has the special property, it executes the statement first and then checks the condition.
So, it executes the statement once if we provide the condition false.
Another side, the other loop statement like for loop, while loop they check the condition first and then start executing the statement if condition true.
In the question, the counter is 5 and myPar is 1
then the program executes the statement first.
so, myPar = 1+2=3
myPar assigns through the value 3. then counter increase by one.
the counter value becomes 2.
then check the condition 2 <= 1, condition false and program terminate.
Therefore, the answer is 3.