C++ MCQs with answers Page - 138

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. OOPs follows ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ approach during program design.

  • (A) top down
  • (B) bottom ‐up
  • (C) both a & b
  • (D) none of these

A

Admin • 833.24K Points
Coach

Q. The technique of Hiding internal details in an object is called‐‐‐‐‐

  • (A) encapsulation
  • (B) functions
  • (C) Abstraction
  • (D) inheritance

A

Admin • 833.24K Points
Coach

Q. classes are ‐‐‐‐‐‐‐‐ datatype.

  • (A) derived
  • (B) user‐defined
  • (C) built‐in
  • (D) both a & c

A

Admin • 833.24K Points
Coach

Q. ‐‐‐‐‐‐‐‐‐‐ provides interface between the object’s data and program.

  • (A) object
  • (B) functions
  • (C) class
  • (D) polymorphism

A

Admin • 833.24K Points
Coach

Q. ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ refers to the linking of procedure call to the code to be executed in response to the call.

  • (A) polymorphism
  • (B) functions
  • (C) dynamic binding
  • (D) object

A

Admin • 833.24K Points
Coach

Q. A ‐‐‐‐‐‐‐‐ for an object is a request for execution of a procedure.

  • (A) object
  • (B) functions
  • (C) dynamic binding
  • (D) message

A

Admin • 833.24K Points
Coach

Q. The << operator is known as‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐.

  • (A) put to
  • (B) get from
  • (C) insertion
  • (D) both a & c

A

Admin • 833.24K Points
Coach

Q. The >> operator is known as‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐.

  • (A) put to
  • (B) get from
  • (C) extraction
  • (D) both b & c

A

Admin • 833.24K Points
Coach

Q. ‐‐‐‐‐‐‐‐ contains function prototype for the standard input and output functions.

  • (A) iomanip.h
  • (B) iostream.h
  • (C) stdlib.h
  • (D) both a & b

A

Admin • 833.24K Points
Coach

Q. In C++ default return type for all the functions is ‐‐‐‐‐‐‐‐‐.

  • (A) int
  • (B) void
  • (C) float
  • (D) none of these

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