- A Sequential
- B Random
- C Sequential and Random
- D None of the above
- Share this MCQ
Answer:
A
Share this MCQ
Answer: Option A
An array in C or C++ is a collection of items stored at contiguous memory locations and elements can be accessed randomly using indices of an array. They are used to store similar type of elements as in the data type must be the same for all elements. They can be used to store collection of primitive data types such as int, float, double, char, etc of any particular type. To add to it, an array in C or C++ can store derived data types such as the structures, pointers etc.
Click me to Read more Question & Answer of Array in C LanguageShare this MCQ