2 votes 2 votes Programming in C array data-structures programming-in-c + – set2018 asked Aug 11, 2017 set2018 498 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 3 votes 3 votes number of rows= 5-(5)+1=11 number of columns= 13-3+1=11 A[i] [j]=[(8-3)*11 +(0+5)]*2 +100 220 set2018 answered Aug 11, 2017 selected Aug 13, 2017 by set2018 set2018 comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes Formula for column major would be 100+2(5+i)+22(j-3) So A[0][8]= 100+2(5+0)+22(8-3)=100+10+110=220 Tesla! answered Aug 11, 2017 Tesla! comment Share Follow See all 2 Comments See all 2 2 Comments reply jatin khachane 1 commented Jan 8, 2019 reply Follow Share For RMO also It is coming same 220 ?? 0 votes 0 votes Tesla! commented Jan 9, 2019 reply Follow Share Don't know one must check but it's highly impossible 0 votes 0 votes Please log in or register to add a comment.