for (int j = 0; j < 156; j++) //check!!
{
printf("%d ", force_enable[j]); // display the current element and some trailing spaces
if (((j + 1) % 12) == 0) // have 12 columns been displayed?
{
printf("%s", "\n");
}
}
A Windows console screen is 80 characters wide, using a tab code will not produce an output of 12 columns, only 10. I changed the tab to 2 spaces. The output looks messy, but you get your 12 columns.
@MisterWHite, the OP is looking for a matrix of 12 columns. Your code would produce an output of 13 columns, with the first array element printed on a line by itself.