

MCQOPTIONS
Saved Bookmarks
This section includes 8 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. |
What is the use of dynamic_cast operator? |
A. | it converts virtual base class to derived class |
B. | it converts the virtual base object to derived objects |
C. | it will convert the operator based on precedence |
D. | it converts the virtual base object to derived class |
E. | |
Answer» B. it converts the virtual base object to derived objects | |
2. |
Pointer operator * is pointer to a variable. |
A. | Yes |
B. | No |
C. | Can be yes or no |
D. | Can not say |
Answer» B. No | |
3. |
Casting operators convert one data type to another. |
A. | TRUE |
B. | FALSE |
C. | Can be true or false |
D. | Can not say |
Answer» B. FALSE | |
4. |
Which of the following is Binary Left Shift Operator? |
A. | >> |
B. | << |
C. | || |
D. | $$ |
Answer» C. || | |
5. |
If both the operands are non-zero, then condition becomes true known as? |
A. | & |
B. | && |
C. | || |
D. | ! |
Answer» C. || | |
6. |
Which operator checks if the values of two operands are equal or not, if values are not equal then condition becomes true? |
A. | >= |
B. | <= |
C. | != |
D. | > |
Answer» D. > | |
7. |
Which of the following is not Arithmetic Operators? |
A. | ++ |
B. | -- |
C. | ** |
D. | % |
Answer» D. % | |
8. |
+ operator will do? |
A. | Multiplies both operands |
B. | Subtracts second operand from the first |
C. | Adds two operands |
D. | Increment operator |
Answer» D. Increment operator | |