Question: what are one dimensional array in c++?
Answer: A one-dimensional array is a structured collection of components (often called array elements) that can be accessed individually by specifying the position of a component with a single index value. int number[50]; creates the number array which has 50 components, each capable of holding one int value.