Saved Bookmarks
| 1. |
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 dimensionThe 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++ |
|
Answer» The CORRECT choice is (d) RETURNS the size of a GIVEN dimension |
|