

MCQOPTIONS
Saved Bookmarks
This section includes 3 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. |
How does compiler convert ::operator new implicitly? |
A. | ::operator new( sizeof( type ) ) |
B. | ::operator new( sizeof( ) ) |
C. | new operator :: type sizeof( type ) |
D. | new sizeof( type ) operator |
Answer» B. ::operator new( sizeof( ) ) | |
2. |
If a new operator is defined for a class and still global new operator have to be used, which operator should be used with the keyword new? |
A. | Colon |
B. | Arrow |
C. | Dot |
D. | Scope resolution |
Answer» E. | |
3. |
What is the new operator? |
A. | Allocates memory for an object or array |
B. | Allocates memory for an object or array and returns a particular pointer |
C. | Used as return type when an object is created |
D. | Used to declare any new thing in a program |
Answer» C. Used as return type when an object is created | |