1,464 views

2 Answers

Best answer
5 votes
5 votes

Now here address of b[0] = u1,1= 0 , b[1] = u1,2= 1, ...and b[n+1] = u2,2= n.

Address of a[80, 90] means address of element of array a at  81st row and 91st column.

a[ 80, 90 ] = b[ (100 *101)/2  - (20 *21 )/2 + 10 ]

                  = b[5050 -210 +10 ]

                  = b[4850]

Ans- D. None of the above.

selected by
2 votes
2 votes
$a[0...99,0...99]=a[100][100]$

$loc[80][90]:RMO$

$0^{th}\ row=100(0+x=100)$

$1^{st}\ row=99(1+x=100)$

$2^{nd}\ row=98(2+x=100)$

.

.

.

$79^{th}\ row=21(79+x=100)$

$Sum=100+99+98....+21=4840$

Now you are standing on $80^{th}$ row and it's first element will start from $80^{th}$ column but you need to go to $90^{th}$ column, hence add $11(80,81,82....90)$

$4840+11=4851$

But index starts from $0,$ so subtract $1$

$4851-1=4850$

Related questions

1 votes
1 votes
1 answer
1
radha gogia asked Oct 28, 2015
1,115 views
What is the value of the following limit? $$\lim_{x \to a} \frac{d}{dx}\,\frac{\sin^2 x}{x}$$$0$$2$$1$$\frac{1}{2}$None of the above
1 votes
1 votes
2 answers
2
learncp asked Aug 25, 2015
11,188 views
A is an upper triangular with all diagonal entries zero, then I+A is(a) invertible       (b) idempotent(c) singular        (d) nilpotent
0 votes
0 votes
1 answer
3
0 votes
0 votes
0 answers
4