Computer Science, asked by preetshergill9266, 11 months ago

An array elements are always stored in which memory location

Answers

Answered by VedantJain
0

Actually it is not predefined as to where array elements are stored.

They are stored anywhere in the memory where there is enough space empty.

For eg.

include<iostream>

new int a [] = a[n];

will lead the compiler to find n continous spaces in the memory.

Similar questions