Question: In the following C/C++ program segment, how many times is executed? for (i = 1; i
In the following C/C++ program segment, how many times is
for (i = 1; i <= 3; i++) {
for (j = 1; j <= 5; j++) {
if (j%2 == 0)
break;
}
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
