+1

is the increment executed before or after the statements?

9/25/2019 11:53:55 AM

Cherry_cc

1 Answer

New Answer

+2

In for loop, order of execution 1. initialization 2. condition check (if false exit) 3. body execution 4. increment/decrement expression and repeat 2 to 4 till exit condition is met