1.

In general, the index of the first element in an array is __________(a) 0(b) -1(c) 2(d) 1Asked question is from Array and Array Operations in division Abstract Data Types of Data Structures & Algorithms II had been asked this question in semester exam.

Answer»

The CORRECT OPTION is (a) 0

Best explanation: In general, Array Indexing starts from 0. Thus, the INDEX of the FIRST ELEMENT in an array is 0.



Discussion

No Comment Found

Related InterviewSolutions