Question: How is an ordinary ( NOT dynamically allocated ) two - dimensional array stored in C / C + + ? A . Column by

How is an ordinary (NOT dynamically allocated) two-dimensional array stored in C/C++?
A. Column by column, with each column stored together as a unit, but not necessarily next to the other columns.
B.Column-wise, with all of the first column followed by allof the second column, then all of the third column, etc.
C.Row by row, with each row stored together as a unit, but not necessarily next to the other rows.
D.Row-wise, with al of the first row followed by al of the second row, then al of the third row, etc.
E.Undetermined. That decision si left to the compiler, and ti may or may not be the same for all arrays even in the same program.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!