Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2026 Crash Course
NEET 2026 Crash Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
9.1k views
in Computer by (49.9k points)
closed by

A square matrix A[m*m] is stored in the memory with each element requiring 2 bytes of storage. If the base address A[1] [1] is 1098 and the address at A [4] [5] is 1144, determine the order of the matrix A[m × m] when the matrix is stored Column Major wise.

1 Answer

+1 vote
by (49.0k points)
selected by
 
Best answer

B = 1098, W = 2, n = m 

1144 = 1098 + 2 [m(5 – 1) + (4 – 1)] 

⇒ 1144 = 1098 + 8m + 6 

⇒ 8m = 40 

⇒ m = 5 

The order of the matrix is [5 × 5]

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...