

MCQOPTIONS
Saved Bookmarks
This section includes 2 Mcqs, each offering curated multiple-choice questions to sharpen your C++ Programming knowledge and support exam preparation. Choose a topic below to get started.
1. |
How many Destructors are allowed in a Class? |
A. | 1 |
B. | 2 |
C. | 3 |
D. | Any number |
Answer» B. 2 | |
2. |
What is the difference between constructors and destructors? |
A. | They have a different function name |
B. | Constructors does not have return type whereas destructors do have |
C. | Constructors allow function parameters whereas destructors do not |
D. | Constructors does not function parameters |
Answer» D. Constructors does not function parameters | |