Computer Science, asked by Semz, 1 year ago

write the syntax to define an array of 50 elements

Answers

Answered by Vivek111s
7
An array is an indexed collection of data elements of the same type. 
1)  Indexed means that the array elements are numbered (starting at 0). 
2)  The restriction of the same type is an important one, because arrays are stored in consecutive memory cells.  Every cell must be the same type (and therefore, the same size).
Similar questions