MCQOPTIONS
Saved Bookmarks
This section includes 4 Mcqs, each offering curated multiple-choice questions to sharpen your Technical MCQs knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
IS A relationship in C++ is |
| A. | Inheritance |
| B. | Encapsulation |
| C. | Composition |
| D. | None of the above |
| Answer» B. Encapsulation | |
| 2. |
The order in which operands are evaluated in an expression is predictable if the operator is |
| A. | Addition |
| B. | Modulus |
| C. | Multiply |
| D. | && |
| Answer» E. | |
| 3. |
If private member functions are to be declared in C++ then __________ |
| A. | private(private member list) |
| B. | private |
| C. | private: |
| D. | private :- |
| Answer» D. private :- | |
| 4. |
Not using virtual destructor feature in a C++ object oriented programing can cause |
| A. | An Issue in creating object of the class |
| B. | Memory leak |
| C. | An issue in calling base class destructor |
| D. | None of the above |
| Answer» C. An issue in calling base class destructor | |