Computer Science, asked by suryawanshirahul483, 11 months ago

If the starting address of an float array Arr[10][10] is 2000, what would be the memory address of the element Arr[5][6]?

Answers

Answered by smartykrishna30
0

The Web server typically passes the form information to a small application program that processes the data and may send back a confirmation message. This method or convention for passing data back and forth between the server and the application is called the common gateway interface (CGI).

Answered by Shaizakincsem
0

Address=B+W[n(I-Lr) + (J-Lc )]

B is the base address

W is the element size in bytes

n is the number of columns

Lr is the first row number

Lc is the first column number

B=2000

Lr=0  

Lc=0  

W=4  

n=10

I=5

J=6

using formula,

address= 2000+4[10(5–0) + (6–0)]

= 2000+4[50+6]

=2000+4[56]

=2000+224

=2224

Similar questions