in Programming in C
288 views
0 votes
0 votes

Consider a lower triangular matrix stored in row major order as p[-25 - - + 749][-25 - - - + 749] with base address = 6800, size of each element = 6 byte. Find the value at location p[658][596]?

in Programming in C
288 views

1 comment

1412042=  6800+[( (658 -(-25)) (658-(-25)+1) ) /2  + 596-(-25) ]*6

1
1

1 Answer

2 votes
2 votes

 

Ans: 1412042

 

Related questions

0 votes
0 votes
0 answers
1