

MCQOPTIONS
Saved Bookmarks
This section includes 4 Mcqs, each offering curated multiple-choice questions to sharpen your Object Oriented Programming Using C++ knowledge and support exam preparation. Choose a topic below to get started.
1. |
Object can t be used with pointers because they belong to user defined class, and compiler can t decide the type of data may be used inside the class. |
A. | True |
B. | False |
Answer» C. | |
2. |
Object declared in main() function _____________ |
A. | Can be used by any other function |
B. | Can be used by main() function of any other program |
C. | Can t be used by any other function |
D. | Can be accessed using scope resolution operator |
Answer» D. Can be accessed using scope resolution operator | |
3. |
Functions can t return objects. |
A. | True |
B. | False |
Answer» C. | |
4. |
The object can t be __________ |
A. | Passed by reference |
B. | Passed by value |
C. | Passed by copy |
D. | Passed as function |
Answer» E. | |