Create an integer array of dimensions


Discussion:

Q: Multi-dimensional arrays could cost a lot of memory. How much memory (how many bytes) does it take to create an integer array of 3 dimensions, with each dimension having 1000 elements (i.e. int myHugeArrays[1000] [1000] [1000])? Explain your answer.

Solution Preview :

Prepared by a verified Expert
Data Structure & Algorithms: Create an integer array of dimensions
Reference No:- TGS01931908

Now Priced at $20 (50% Discount)

Recommended (96%)

Rated (4.8/5)