Is the following control expression incremented in the for loop?
In the following code, in the innermost loop, when d < p is **true** and p % d == 0 is **false**,
is variable d being incremented or is incrementing being skipped?
    
    // Program to generate a table of prime numbers

    #include <stdio.h>

    int main (void)
    {
        int p, d;
        _Bool isPrime;

        for ( p = 2; p <= 50; ++p ) {
            isPrime = 1;

            for ( d = 2; d < p; ++d )
                if ( p % d == 0 )
                    isPrime = 0;

                if ( isPrime != 0 )
                    printf ("%i  ", p);
        }
        printf ("\n");
        return 0;
    }
Is the following control expression incremented in the for loop?
===

In the following code, in the innermost loop, when d < p is **true** and p % d == 0 is **false**,
is variable d being incremented or is incrementing being skipped?
    
    // Program to generate a table of prime numbers

    #include <stdio.h>

    int main (void)
    {
        int p, d;
        _Bool isPrime;

        for ( p = 2; p <= 50; ++p ) {
            isPrime = 1;

            for ( d = 2; d < p; ++d )
                if ( p % d == 0 )
                    isPrime = 0;

                if ( isPrime != 0 )
                    printf ("%i  ", p);
        }
        printf ("\n");
        return 0;
    }