adplus-dvertising
frame-decoration

Question

What is it that the compiler needs to know about an array that it needs to know about an ordinary variable known as a scalar variable in the trade?

a.

Type

b.

Storage class

c.

Both (a) and (b)

d.

None of the above

Answer: (c).Both (a) and (b)

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is it that the compiler needs to know about an array that it needs to know about an ordinary variable known as a scalar variable in the trade?

Similar Questions

Discover Related MCQs

Q. An array is a collection of elements of the same data type and it can be referred to with a___________.

Q. An array can be____________type.

Q. The first element in the array is numbered 0, so the last element is ______ than the size of the array.

Q. The first element is referred to as array [__________] and any element at x position is referred to as array[_________].

Q. What are used to refer to array elements?

Q. The method of subscribing arrays in ‘________’ is different from that used in many other
programming languages.

Q. The first element in the array is numbered__________.

Q. Once memory space is allocated to an array, it cannot be________.

Q. If the number of elements to be stored in an ______increases or decreases significantly at runtime, it may require more memory space or result in wastage of memory, both of which are unacceptable.

Q. The total number of elements that can be stored in a string without increasing its current amount of allocated memory is called its:

Q. A double sub-scripted array declared as int a[ 3 ][ 5 ]; has how many elements?

Q. Using square brackets ([]) to retrieve vector elements .............. perform bounds checking; using member function at to retrieve vector elements ................ perform bounds checking.

Q. The largest element of an array index is called its .................

Q. The information about an array that is used in a program will be stored in

Q. Which of the following expressions accesses the (i,j)th entry of an (m x n) matrix stored in column major form?

Q. Sparse matrices have

Q. For a linear search in an array of n elements the time complexity for best, worst and average case are ......., ....... and ........ respectively

Q. The expression which accesses the (ij)th entry of am x n matrix stored in column majorform is

Q. An object that can be used in accessing another object, is known to be

Q. Basic mechanism for storing a large number of identically-typed objects are known to be