what would be the contents of the following array after initialization ? Int B [5] = {5,3,7,9,0,2,11 } ;
All the elements will be allocated
Only five elements will be inserted, others will be ignored
It will show exception(error)
No problem, declaration is correct
Which of the following operations can be done by a two-dimensional array?
Matrix
table
both a and b
list
What is the formula used to find out the total number of bytes required to store a two dimensional array ?
First index * Second index * size of (base type)
size of (index * size)
first index * second index
size of (first index * second index)
What is the starting index of an array in c++?
0
1
n
n-1
What is the alternate name of index?
indices
index value
subscript
superscript
In which sort of data type does an array belong to?
derived type
basic
primitive
user defined
What are specified in an array declaration?
Name ,data type & size
Size, data type & variable
Size,name & values
Values & elements
What is the formula used to determine the total bytes required to store a one-dimensional array?
size of (type) * size of array
size of (type)
size (size of array )
type * size
Which of the following is a use of one dimensional arrays?
list processing
matrix operations
searching
sorting.