can i ask how are elements of an array stored in an memory?