Question

In a multi-dimensional array representing image pixel data, how is a specific pixel (e.g., at `[row][col]`) typically accessed in terms of memory addressing?

A Through a series of pointers
B By traversing a linked list
C Using a hash function
D Via direct address calculation based on base address and indices
E By performing a binary search
Practice Next

Hey! Ask a query