int numbers [] = { ... };

for ( int i = 0; i < sizeof ( numbers); ++i) {

if ( numbers [ i] % 2) {

printf ( "%d is odd\n", numbers [ i]);

} else {

printf ( "%d is even\n", numbers [ i]);

}

}

for ( int i = 0; i < sizeof ( numbers); ++i) {

if ( numbers [ i] % 2) {

printf ( "%d is odd\n", numbers [ i]);

} else {

printf ( "%d is even\n", numbers [ i]);

}

}