[Solved] In C, what happens when the condition for a for loop aren’t met at the beginning? [closed]


Neither iteration of the loop will be executed.

In fact this loop (provided that the condition has no side effects)

for(i = 2; i < 2; i++) { /* ... */ }

is equivalent to this statement

i = 2;

solved In C, what happens when the condition for a for loop aren’t met at the beginning? [closed]