Question: How many assignment operations take place in the following loop code? for (int i = 1, j = 1; i < 24; i = i
How many assignment operations take place in the following loop code?
for (int i = 1, j = 1; i < 24; i = i + 2) { j = j * i; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
