Create a free account on Computer Sir Ki Class and unlock access to valuable learning resources.
Exam Paper Downloads: After registering and logging in, you can download exam question papers in PDF format to practice and prepare for your exams.
Student Support: Get assistance with your doubts, queries, and questions related to your studies. Our support is here to help you understand topics and resolve your learning difficulties.
Register today and make your exam preparation easier and more effective!
Let us assume Data[20][15] is a two dimensional array, which is stored in the memory along the row with each of its element occupying 2 bytes, find the address of the element Data[10][5], if the element Data[15][10] is stored at the memory location 15000.
Where
LOC(Data[I][J]) = Location element we need to compute
Base(Data) = Reference Location from which we need to find the address
W = Width of each element
NC = Number of columns in the array
I = Row number of Location element to be found
J = Column number of Location element to be found
LBR = Lower Bound of Row of Base address
LBC = Lower Bound of Columns of Base address
C. Sir| Created: 5-Dec-2018 | Updated: 22-Mar-2026|CBSE12A-2018