Suppose a 2d array is declared as int arraynn where the


Suppose a 2D array is declared as: int array[N][N]; where the variable N is set using a #define. How much memory does the array use?

(1) O(1)

(2) O(N)

(3) O(2*N)

(4) O(N2)

(5) O(N+N2)

Solution Preview :

Prepared by a verified Expert
Business Management: Suppose a 2d array is declared as int arraynn where the
Reference No:- TGS02525302

Now Priced at $10 (50% Discount)

Recommended (90%)

Rated (4.3/5)