int i = 0;  //Loop counter initialized outside of loop

do
{
    printf("Loop iteration %d\n", i++); //(i++) Loop counter incremented manually inside loop
} while (i < 5);  //Condition checked at end of loop iterations