Which of the following approaches is used by C++?

Options

  • A. Left-right
  • B. Top-down
  • C. Bottom-up
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

C. Bottom-up

Detailed Explanation

Answer: Bottom-up

C++ supports the bottom-up approach, especially through its object-oriented programming features. In a bottom-up approach, smaller components or objects are developed first and then combined to build a complete application.

C++ also supports classes, objects, inheritance, polymorphism and encapsulation, which are important features of object-oriented programming.