Answer Posted / bijayalaxmi behera.
The index of an array is an OFFSET from the beginning of the
array, multiplied by the width of the array items:
Say an array of integers, 4 bytes long.
Say beginning of array at address 0x1000
First integer address: BaseAddress + (index * len) = 0x1000
+ ( 0 * 4) = 0x1000
Second integer will be at : 0x1000 + ( 1 * 4 ) = 0x1004.
| Is This Answer Correct ? | 4 Yes | 6 No |
Post New Answer View All Answers
Are comments included during the compilation stage and placed in the EXE file as well?
What is cohesion in c?
What does printf does?
Under what circumstances does a name clash occur?
What are terms in math?
Is null always equal to 0(zero)?
what is use of malloc and calloc?
Explain how do you determine the length of a string value that was stored in a variable?
What is a pointer in c?
Why do we use c for the speed of light?
What is an example of structure?
What language is lisp written in?
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.
why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above