An array elements are always stored in which memory location
Answers
Answered by
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
Biology,
6 months ago
Math,
6 months ago
Computer Science,
1 year ago
Physics,
1 year ago
Accountancy,
1 year ago