Computer Science, asked by Sandesh6957, 1 year ago

What is the allocated size of a 3D long array with size 2, 4, 8?

Answers

Answered by alinakincsem
0

The allocated size of a 3D long array with constant size 2,4,8 is 2064 bits.

Explanation :

In C language 1 long equals to 32bits or 4bytes so (2*4*8 )*32=2048 bits.

In java 1 long equals to 64bits or 8 bytes so (2*4*8)*64=4095 bits.

Thus, allocated size of a 3D long array depends upon the language being used.

Similar questions