What is the correct format accessing an array?
a) array name[index];
b) name array[index];
c) array name{index};
d) all of these
What is the correct format to access the index of 5 numbers in array?
a) int z [4]`
b) int z[4];
c) int z{4}
d) int z (4)
Which of the following are advantages of C++ array?
a) code optimization
b) random access
c) east to traverse data
d) all of these
Which of the following are disadvantages of C++ array?
a) fixed size
b) wastage of memory
c) both a & b
d) none of these
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