You must log in or register to comment.
Assuming it’s C/C++, the for and the while loops are not equivalent: the scope of the variable i is not the same.
Assuming it’s C/C++, the for and the while loops are not equivalent: the scope of the variable i is not the same.