# include int main ( ) { // // We can declare an array of characters. // char a[7] = { 'G', 'o', 'o', 'd', 'b', 'y', 'e' }; // // If we leave the dimension holder [] blank, but provide initial // values, then the C compiler will automatically "fill in" the // dimension that is just big enough to contain the initial values. // char c[] = { 'H', 'e', 'l', 'l', 'o', '?' }; int i; for ( i = 0; i < 7; i++ ) { printf ( "%c", a[i] ); } printf ( "\n" ); for ( i = 0; i < 6; i++ ) { printf ( "%c", c[i] ); } printf ( "\n" ); return 0; }