Vidyalelo
Data Structure · Q154

Arrays in Data Structures

Programming · Data Structure · question 154

Q154

Which of the following is an advantage of using variable-length arrays?

A.
Deciding the length of an array at the time of execution
Answer
B.
Memory allocation at compile time
C.
Initializing array at compile time
D.
Faster execution of code

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board