In computer graphics, arrays can be used to store pixel values for images. Which type of array would be suitable for this purpose?
Show answerHide answer
Correct answer: (B) 2-D array
Explanation
An image is a grid of pixels addressed by row and column, so a 2-D array (one value per pixel, e.g. grayscale) is the natural structure.