What is necessary to specify at time of array initialization?
Answers
Answered by
7
Operator new allocates block of memory specified by the size of array, and gives the reference of memory allocated to the array variable. ... a) It is necessary to use new operator to initialize an array. b) Array can be initialized using comma separated expressions surrounded by curly braces.
Answered by
1
Row is the correct answer to the given question.
Explanation:
- The array is the collection of similar element .The array is user defined data structure in which similar element is stored to declared the array we will used the following syntax that is mention below
datatype array-name[size];// In 1 D array
datatype array-name[row][column];//In 2D array .
- As the array will access by the index value we must specify the row in the array at the time of initialization because the row defined the size of array however the column field is not the mandatory at the time of array initialization.
Learn More :
- brainly.in/question/8457756
Similar questions
Science,
6 months ago
Social Sciences,
6 months ago
Science,
6 months ago
Math,
1 year ago
Biology,
1 year ago