McqMate
Q. |
Consider the following statements: int x = 22,y=15; x = (x>y) ? (x+y) : (x‐y); What will be the value of x after executing these statements? |
A. | 22 |
B. | 37 |
C. | 7 |
D. | Error. Cannot be executed |
Answer» B. 37 |
View all MCQs in
Object Oriented Programming with C++ (OOP in C++)No comments yet