Which of the following is correct about extent() function?
(a) Returns how many elements are in array currently
(b) Returns the size of the 1st dimension
(c) Returns how many total elements can be stored in an array
(d) Returns the size of a given dimension
The question was posed to me in an interview for internship.
The question is from Array Type Manipulation in portion Class Hierarchies, Library & Containers of C++