two-dimensional array of characters
one-dimensional array of strings
one-dimensional array of pointers to character
All of above
Strictly speaking C supports 1-dimensional arrays only
An array element may be an array by itself
Array elements need not occupy contiguous memory locations
Both (a) and (b)
It is a collection of items that share a common name
It is a collection of items that share a common name and occupy consecutive memory location
It is a collection of items of the same type and storage class that share a common name and occupy consecutive memory locations
None of the above
assigns 3 to a [5]
assigns 4 to a [5]
assigns 4 to a [4]
what is assigned is compiler-dependent
true
false
C's asset
C's shortcoming
will not compile successfully
results in run-time error
prints garbage
none of the above
both the subscripts may be left empty
the first (row) subscript may be left empty
the first subscript must be left empty
both the subscripts must be left empty
when initialization is a part of definition
when it is a declaration
when it is a formal parameter and an actual argument
All of the above
3
4
5
compiler dependent
val[0 ][ 3]
val[0][4]
val[1][1]