1.

What is the index number of the last element of an array with 29 elements?(a) 29(b) 28(c) 0(d) Programmer-DefinedI have been asked this question in unit test.I'm obligated to ask this question of Array Reference in section Syntax Directed Definition and Translations of Compiler

Answer»

The correct answer is (b) 28

The best explanation: The indexing in an ARRAY STARTS with zero hence we can SAY that the ELEMENT.



Discussion

No Comment Found

Related InterviewSolutions