Question 7
Back to Exercise
After typedef int Row[4];, what is the type of Row grid[3];?
- A int[4][3]
- B int[3][4] – 3 rows of 4 ints Correct
- C int[12]
- D int *[3]
Correct Answer: Option B
grid is an array of 3 elements, each a Row (int[4]). So it is int[3][4], 48 bytes – handy for naming the row type of a matrix.
Discussion & Comments 0
Share your method, a shortcut, or ask about a step you didn't follow.
No comments yet. Be the first to share your solution!