

MCQOPTIONS
Saved Bookmarks
1. |
The memory address of fifth element of an array can be calculated by the formula |
A. | a. LOC(Array[5]=Base(Array)+w(5-lower bound), where w is the number of words per memory cell for the array |
B. | b. LOC(Array[5])=Base(Array[5])+(5-lower bound), where w is the number of words per memory cell for the array |
C. | c. LOC(Array[5])=Base(Array[4])+(5-Upper bound), where w is the number of words per memory cell for the array |
D. | d. None of above |
Answer» B. b. LOC(Array[5])=Base(Array[5])+(5-lower bound), where w is the number of words per memory cell for the array | |