ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
What is the time complexity of accessing an element by index in an array?
Correct Answer: C — O(1)
Arrays support direct index-based access. The memory address is calculated as base_address + index × element_size, making it O(1).