arrays in c++

MCQsQuestion.com has 6 Question/Answers about Topic arrays in c++

A consecutive group of memory locations that all have same name and same type, is called as

A consecutive group of memory locations that all have same name and same type, is called as
  • A. Structures
  • B. Classes
  • C. Arrays
  • D. Functions
  • Correct Answer: Option C

Position number contained within a square brackets e.g. my_array [5], is referred as

Position number contained within a square brackets e.g. my_array [5], is referred as
  • A. Post-scripts
  • B. Sub-scripts
  • C. Elements of an array
  • D. None of them
  • Correct Answer: Option B

Binary search algorithm uses

Binary search algorithm uses
  • A. Linear way to search values
  • B. Divide and conquer method
  • C. Bubble sorting technique
  • D. None of them
  • Correct Answer: Option B

For defining their own types programmer’s uses

For defining their own types programmer’s uses
  • A. Enumerations
  • B. Operators
  • C. Algorithms
  • D. None of them
  • Correct Answer: Option A

Tables or arrays that require two subscripts to identify a particular element are called

Tables or arrays that require two subscripts to identify a particular element are called
  • A. Two way array
  • B. Double subscripted array
  • C. Multiple subscripted array
  • D. None of them
  • Correct Answer: Option B

Elements of an array are numbered as 0,1,2,3

Elements of an array are numbered as 0,1,2,3
  • A. Index values
  • B. Subscripts of array
  • C. Members of an array
  • D. Both A and B
  • Correct Answer: Option D