I have read this post. However, I could not get the meaning for the following declaration.
Lets say I declare this:
Declaration 1: int jimmy [HEIGHT][WIDTH];
Accessing 1: jimmy[n][m]
Declaration 2: int jimmy [HEIGHT * WIDTH];
Accessing 2: jimmy[n*WIDTH+m]
Declaration 1 and accessing 1, and Declaration 2 and accessing 2 are same src.
However, what is the meaning jimmy[n,m]? I wrote the code it gives me address. Couldnt get any useful info. Can some one say what does it mean?