Computer Science, asked by Malar2910, 1 month ago

__________ statement is used to declare an array.​

Answers

Answered by Littlenightmares
7

Answer:

typeName variableName[size]; This declares an array with the specified size, named variableName, of type typeName. The array is indexed from 0 to size-1. The size (in brackets) must be an integer literal or a constant variable.

Answered by kamyaseenu
6

Answer:

Array declaration syntax is very simple. The syntax is the same as for a normal variable declaration except the variable name should be followed by subscripts to specify the size of each dimension of the array. The general form for an array declaration would be.

Explanation:

I hope this will help you

Similar questions