1.

subscript operator is used to access which elements?(a) string(b) char(c) array(d) float

Answer» Correct answer is (c) array

The best explanation: To access any element of an array we use following syntax array[i], where i is called subscript representing the ith element of an array, whereas no such cases in char and strings.


Discussion

No Comment Found

Related InterviewSolutions