for(y=0;y<MAX_COLS;y++){
  for(x=0;x<MAX_ROWS;x++){
    table[x][y]=a++;
    printf("%d ",table[x][y]);
  }
  printf("\n");
}
プ━( ´,_ゝ`)━( ´,_ゝ)━( ´,_)━( ´,)━( )━m9( ゚,_ゝ゚)プッ!!