Computer Science, asked by roulsourav775, 10 months ago

Array is declared by using
ऐरे(Array) द्वारा घोषित किया जाता है
Select one​

Answers

Answered by phillipinestest
0

An Array is declared as any one of the following declarations:

int x[ ]; int *x; int x[10];

Explanation:

An array is defined as a sequence of objects of the same data type. All the elements of an array are either of type int (whole numbers), or all of them are of type char, or all of them are of floating decimal point type, etc. An array cannot have a mixture of different data types as its elements.

When a function parameter is declared as an array, the compiler treats the declaration as a pointer to the first element of the array. For example, if x is a parameter and is intended to represent an array of integers, it can be declared as any one of the following declarations: int x[ ]; int *x; int x[10];

Learn More About:

Need for array

https://brainly.in/question/8457756

Similar questions