arrays in data structure | one dimensional array memory representation

preview_player
Показать описание
Explain the memory representation of one dimensional array with an example
1. Suppose an array A having base address as 2500 and each element takes 8 memory cells and the array’s starting index is 9 then calculate the address of element at index 20 in the array
2. Suppose an array Y[-2:7] having base address as 1000 and each element takes 10 memory cells then find the location of 3rd element of array.
3. Suppose an array X[7:19] having base address as 1500 and each element takes 4 memory cells then find the location of 5th element of array. 
#array #data #structure
Рекомендации по теме
Комментарии
Автор

2588.Thank you sir for sharing your valuable knowledge among all the students.nice teaching sir.

fazalmunshi