How many ASSIGNMENT operations take place How many assignmen
How many ASSIGNMENT operations take place?
How many assignment operations take place in the following loop code? for (int i = 1, j = 1; iSolution
Answer:
The assignment operationstake place in this loop are
i =1
j=1
j = j * i
i = i + 2
and
13 iterations because i value varies from
1,3, 5, 7, 9,....25
