Computer Science, asked by kumaranand0950, 4 months ago

EXERCISE
1. What is array? How to initializing the one dimensional array.​

Answers

Answered by Vikramjeeth
0

Answer:

An array can be explicitly initialized at run time. This approach is usually applied for initializing large arrays. Ex:- scanf can be used to initialize an array. int x[3]; scanf(“%d%d%d”,&x[0],&x[1],&x[2]); The above statements will initialize array elements with the values entered through the key board.

hope it else helps you

Answered by sneha9719
1

Answer:

An array is a data structure that contains a group of elements. Typically these elements are all of the same data type, such as an integer or string. Arrays are commonly used in computer programs to organize data so that a related set of values can be easily sorted or searched.

Explanation:

An array can be explicitly initialized at run time. This approach is usually applied for initializing large arrays. Ex:- scanf can be used to initialize an array. int x[3]; scanf(“%d%d%d”,&x[0],&x[1],&x[2]); The above statements will initialize array elements with the values entered through the key board.

Similar questions