Computer Applications
Related Questions
Indicate the error message which displays, if the following statement is executed :
int a[5] = {28,32,45,68,12};- Insufficient cells
- Array index out of bounds
- Elements exceeding cells
- None
The following statement :
int code[ ]= {25,37,38,42};- assigns 37 to code[1]
- assigns 25 to code[1]
- assigns 38 to code[3]
- assigns 42 to code[0]
Which of the following function finds the size of array
char m[] = {'R', 'A', 'J', 'E', 'N', 'D', 'R', 'A' };?- m.sizeof (a)
- m.elementsof (m)
- m.length
- None
A Single Dimensional array contains N elements. What will be the last subscript?
- N-1
- N
- N+1
- None