To answer this question, we can represent the problem graphically as follows:
As we can see from the graph, if we have 32 apples, and we have 4 rows, to arrange them so they will be 32, we need to arrange them into 8 columns to finally have 32 apples.
Therefore, we have 4 rows and 8 columns to arrange these apples so that they are 32 apples. In the array, we need 8 columns.
We can see the problem in this way too. We can divide 32 by 4, and we obtain 8 (the number of columns above):