Math, asked by mausam3347, 1 year ago

Define one dimensional array. Give the syntax and one illustration of declaration and initialization of one dimensional array.

Answers

Answered by Anonymous
11

An array is a collection of a fixed number of values of a single type.

One-dimensional arrays. A one-dimensional array (or single dimension array) is a type of linear array. Accessing its elements involves a single subscript which can either represent a row or column index.

In the given example the array can contain 10 elements of any value available to the int type.

Hope this helps you ❤️❤️☺️☺️

Answered by 2100120334
0

define array an initialize the one dimensional integer array

Similar questions