You can use C++ as a procedural, as well as an object-oriented, language
A. True
B. False
Answer: Option A
Solution (By Examveda Team)
A. True.C++ is a multi-paradigm programming language, which means it supports multiple programming paradigms, including procedural and object-oriented programming.
Procedural programming is a programming paradigm that emphasizes the use of procedures or functions to organize the program into small, reusable blocks of code. C++ supports procedural programming through the use of functions, structures, and arrays.
Object-oriented programming, on the other hand, is a programming paradigm that emphasizes the use of objects, which are instances of classes, to organize the program. C++ supports object-oriented programming through the use of classes, inheritance, polymorphism, and other object-oriented concepts.
Thus, C++ can be used as both a procedural and an object-oriented language, depending on the needs of the programmer and the requirements of the problem being solved.

Join The Discussion