It shortens the program.
The program compiles faster
Number of variables are reduced.
Data is accessed faster
Answer is Wrong!
Answer is Right!
The correct answer is: D. Data is accessed faster.
An array is a data structure that stores a collection of elements of the same data type. The elements of an array are stored in contiguous memory locations, which means that they can be accessed very quickly. This makes arrays a very efficient way to store and access data.
The other options are incorrect because:
- A. It shortens the program. This is not necessarily true. Using an array can sometimes make a program shorter, but it can also make it longer. It depends on the specific program and how the array is used.
- B. The program compiles faster. This is also not necessarily true. Compiling a program is a separate process from using arrays. The speed of compilation does not depend on whether or not 48.3 47.8C117.2 448 288 448 288 448s170.8 0 213.4-11.5c23.5-6.3 42-24.2 48.3-47.8 11.4-42.9 11.4-132.3 11.4-132.3s0-89.4-11.4-132.3zm-317.5 213.5V175.2l142.7 81.2-142.7 81.2z"/> Subscribe on YouTube