InterviewSolution
Saved Bookmarks
| 1. |
What is the correct definition of an array?(a) An array is a series of elements of the same type in contiguous memory locations(b) An array is a series of element(c) An array is a series of elements of the same type placed in non-contiguous memory locations(d) An array is an element of the different typeThe question was asked during an internship interview.This intriguing question comes from Arrays in section Types, Pointers, Arrays & Structures in C++ of C++ |
|
Answer» The correct CHOICE is (a) An ARRAY is a series of elements of the same TYPE in CONTIGUOUS memory locations |
|