MCQOPTIONS
Saved Bookmarks
This section includes 5 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. |
X::OPERATOR_NEW(SIZE_T)?$ |
| A. | Error |
| B. | Runtime error |
| C. | None of the mentioned |
| Answer» D. | |
| 2. |
X::operator delete(void*) |
| A. | Freeing 400 bytes |
| B. | Depends on the compiler |
| C. | Both X::operator delete(void*) & Depends on the compiler |
| Answer» D. | |
| 3. |
A::operator delete |
| A. | B::operator delete |
| B. | Both A::operator delete & B::operator delete |
| C. | None of the mentioned |
| Answer» C. None of the mentioned | |
| 4. |
What type of class member is operator new? |
| A. | static |
| B. | dynamic |
| C. | const |
| D. | smart |
| Answer» D. smart | |
| 5. |
Which operators are used in the free store? |
| A. | new |
| B. | delete |
| C. | both new & delete |
| D. | none of the mentioned |
| Answer» D. none of the mentioned | |