Arrays In Data Structures - Study Mode

[#76] Which of the following is true about array indexes?
Correct Answer

(C) They start from 0

[#77] What is the correct way to initialize an array of size 5 in Python?
Correct Answer

(A) array = [0] * 5

[#78] How can you pass an array to a function in C?
Correct Answer

(D) By pointer

[#79] Which of the following is an advantage of using arrays?
Correct Answer

(B) Random access

[#80] Predefined function rotate() in C++ is available under which header file?
Correct Answer

(D) algorithm