C Language - Arrays

You Are Here :: Home > C Language > Arrays - General Questions

 
7.

Which of the following correctly declares an array?

A. int array[10]; B. int array;
C. array{10}; D. array array[10];




8.

The index or subscript value for an array of size n ranges from

A. 1 to n-1 B. 0 to n-1
C. 1 to n D. 0 to n




9.

Two dimensional array elements are stored

A. system dependent. B. in row major dependent.
C. compiler dependent. D. in column major dependent.




10.

What is the index number of the last element of an array with 9 elements?

A. 9 B. 8
C. 0 D. Programmer-defined




11.

Array elements are stored in

A. sequential memory locations. B. scattered memory locations.
C. direct memory locations. D. random memory locations.




12.

What is a array?

A. An array is a series of elements of the same type in contiguous memory locations B. An array is a series of element
C. An array is a series of elements of the same type placed in non-contiguous memory locations D. None of the mentioned




« previous

1

2

3

4

5

6

7

8

9

...

next »

 
 
 



© 2013 freshersindia.in ® | Copyrights | Terms & Conditions
   Designed by Freshers India
Catch Us on