1.

Which of the follwoing function(s) of Array classes are similar to [] operator?(a) at()(b) get()(c) both at() and get()(d) front()I had been asked this question in exam.I'd like to ask this question from seq_con Array Class topic in division Class Hierarchies, Library & Containers of C++

Answer»

The correct CHOICE is (c) both at() and GET()

Explanation: Both at() and get() function are used to ACCESS the elements stored at i’TH position of the array.



Discussion

No Comment Found

Related InterviewSolutions