What are the advantages of arrays?
Answer: D
Arrays stores elements of same data type and present in continuous memory locations.
Enter details here
How do you initialize an array in C?
Answer: C
This is the syntax to initialize an array in C.
Enter details here
Consider the declaration
char street[10] = "abcdefghi";
Choose the correct remark(s)
Answer: D
No answer description available for this question.
Enter details here
Point the correct statement
Answer: C
No answer description available for this question.
Enter details here
How do you instantiate an array in Java?
Answer: C
Note that option b is declaration whereas option c is to instantiate an array.
Enter details here
O(N)(linear time) is better than O(1) constant time.
Answer: B
No answer description available for this question.
Enter details here
When does the ArrayIndexOutOfBoundsException occur?
Answer: B
ArrayIndexOutOfBoundsException is a run-time exception and the compilation is error-free.
Enter details here
A set of names can be represented as a
Answer: D
No answer description available for this question.
Enter details here
A three dimensional array in ‘C’ is declared as int A[x][y][z]. Consider that array elements are stored in row major order and indexing begins from 0. Here, the address of an item at the location A[p][q][r] can be computed as follows
Answer: B
No answer description available for this question.
Enter details here
C does no automatic array bound checking. This is
Answer: D
No answer description available for this question.
Enter details here