[Solved] What are parallel arrays? (MCQ)

What are parallel arrays?

a) Arrays of the same size
b) Arrays allocated one after the other
c) Arrays of the same number of elements
d) Arrays allocated dynamically

Answer: c
Explanation: Different arrays can be of different data types but should contain the same number of elements. Elements at the corresponding index belong to a record.

Comments