Computer Applications
Which of the following is the correct usage?
- int a[-40]
- int a[40]
- float a[0 - 40]
- None
Java Arrays
245 Likes
Answer
int a[40]
Reason — The declaration of array int a[40]
follows correct syntax.
Answered By
82 Likes
Related Questions
Which element is represented by a[10]?
- 10th
- 9th
- 11th
- None
Cell numbers of a dimensional array are also known as:
- packets
- blocks
- subscripts
- compartments
A dimensional array is also known as:
- subscripted variable
- actual variable
- compound variable
- none
An array element can be accessed through:
- dots
- element name
- index number
- none