#include #define N_ROWS 6 #define N_COLS 12 char flag[N_ROWS][N_COLS] = { {'#', '#', '#', '#', '#', '.', '.', '#', '#', '#', '#', '#'}, {'#', '#', '#', '#', '#', '.', '.', '#', '#', '#', '#', '#'}, {'.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.'}, {'.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.'}, {'#', '#', '#', '#', '#', '.', '.', '#', '#', '#', '#', '#'}, {'#', '#', '#', '#', '#', '.', '.', '#', '#', '#', '#', '#'} }; int main(void) { // for (int row = 0; row < N_ROWS; row++) { // for (int col = 0; col < N_COLS; col++) { // printf("%c", flag[row][col]); // } // printf("\n"); // } //} // int row = 0; // while (row < N_ROWS) { // int col = 0; // while (col < N_COLS) { // printf("%c", flag[row][col]); // col++; // } // printf("\n"); // row++; // } // } int row, col; outer_loop_init: row = 0; outer_loop_cond: inner_loop_init: col = 0; inner_loop_cond: inner_loop_body: printf("%c", flag[row][col]); inner_loop_inc: end_inner_loop: end_out_loop: return (0); }