Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Answers for Data Structures Online Test | Mock Test

←Go Back to Online Practice Test

Ques. The memory address of fifth element of an array can be calculated by the formula
Option 1. LOC(Array[5]=Base(Array)+w(5-lower bound), where w is the number of words per memory cell for the array
Option 2. LOC(Array[5])=Base(Array[5])+(5-lower bound), where w is the number of words per memory cell for the array
Option 3. LOC(Array[5])=Base(Array[4])+(5-Upper bound), where w is the number of words per memory cell for the array
Option 4. None of above

Ans. Option 1

Please provide the reason below. The best provided reason will be displayed with your name(if you are logged-in) on website.
Enter Reason
 
Is it helpful? Yes No
©2024 WithoutBook