C++ MCQs with answers Page - 109

Here, you will find a collection of MCQ questions on C++. Go through these questions to enhance your preparation for upcoming examinations and interviews.

To check the correct answer, simply click the View Answer button provided for each question.

Have your own questions to contribute? Click the button below to share your MCQs with others!

+ Add Question

A

Admin • 833.24K Points
Coach

Q. For finding value in an array which of the following technique is used?

  • (A) Binary search algorithm
  • (B) Bubble sort
  • (C) Linear search algorithm
  • (D) All of them

A

Admin • 833.24K Points
Coach

Q. Programmer’s uses _______ for defining their own types.?

  • (A) Algorithms
  • (B) Operators
  • (C) Enumerations
  • (D) None of them

A

Admin • 833.24K Points
Coach

Q. Choose one of the best option from the following Position number contained within a square brackets e.g. my_array [5], is referred as ____?

  • (A) Sub-scripts
  • (B) Post-scripts
  • (C) Elements of an array
  • (D) None of them

A

Admin • 833.24K Points
Coach

Q. A one dimensional array is always considered as____?

  • (A) Complex
  • (B) Sequential
  • (C) Linear
  • (D) Both B and C

A

Admin • 833.24K Points
Coach

Q. when ______ array that are declared static are initialized

  • (A) The first element is zero
  • (B) Program is about to end
  • (C) Program is loaded into the memory
  • (D) None of them

A

Admin • 833.24K Points
Coach

Q. One-dimensional array having two-dimensional arrays is called

  • (A) Two-dimensional array
  • (B) Multi-dimensional array
  • (C) One-dimensional array
  • (D) Three-dimensional array

A

Admin • 833.24K Points
Coach

Q. To identify a particular element tables or arrays that require two subscripts are called

  • (A) Multiple subscripted array
  • (B) Double subscripted array
  • (C) Two way array
  • (D) None of them

A

Admin • 833.24K Points
Coach

Q. Objects in an array is called as

  • (A) Functions of an array
  • (B) Elements of an array
  • (C) Indexes of an array
  • (D) All of them

A

Admin • 833.24K Points
Coach

Q. An array having arrays is called

  • (A) Uni-casting array
  • (B) Multi-dimensional array
  • (C) One-dimensional array
  • (D) Multi-casting array

A

Admin • 833.24K Points
Coach

Q. An array can contain how many kinds of elements ?

  • (A) Only int type
  • (B) Only char type
  • (C) Char and int type
  • (D) All of them have same type

Add MCQ in this Category

If you want to share an MCQ question in this category, it's a great idea! It will be helpful for many other students using this website.

Share Your MCQ