I am trying to multiply two single arrays and printing out a 2D array...basically I'm making a multiplication table. I keep getting SEGMENTATION FAULT error. Any suggestions?
#include <stdio.h>
#define COLUMN_SIZE 12
#define ROW_SIZE 12
#define SIZE 12
int main (void)
{
int i, j, k;
int column[COLUMN_SIZE] = {1,2,3,4,5,6,7,8,9,10,11,12};
int row[ROW_SIZE] = {1,2,3,4,5,6,7,8,9,10,11,12};
int product[][SIZE] = {{},{}};
for(int i=0; i<ROW_SIZE; i++){
for(int j=0; j<COLUMN_SIZE; j++){
product[i][j] = row[i] * column[j];
}
}
printf("%d\n", product[i][j]);
return 0;
}