1.

Which of the following is a two-dimensional array?(a) array array[20][20](b) int array[20][20](c) int array[20, 20](d) char array[20]The question was asked during an interview for a job.The doubt is from Array Reference topic in division Syntax Directed Definition and Translations of Compiler

Answer»

The correct OPTION is (B) int array[20][20]

The explanation: Double dimensional ARRAYS are declared in this format.



Discussion

No Comment Found

Related InterviewSolutions