Which of the following bracket is used for size in array?
a) curly bracket {}
b) square bracket []
c) small bracket ()
d) none of these
What is the initial index used for array?
a) 0
b) 1
c) both a & b
d) none of these
What is the correct format for array initialization?
a) int A [5] = {1,2,3,4,5};
b) int A [5] = [1,2,3,4,5];
c) int A [5] = (1,2,3,4,5)
d) all of these
Assuming int is of 4bytes, what is the size of int arr[15]?
a) 15
b) 60
c) 19
d) 30
Elements in an array are accessed …….
a) randomly
b) sequentially
c) exponentially
d) all of these
The smallest element of an array's index is
called….
a) upper bound
b) lower bound
c) range
d) all of these