

MCQOPTIONS
Saved Bookmarks
1. |
Which of the following statements are correct about the program given below?
|
A. | The output of the program would be "x and y are equal". |
B. | The statement if (x = y) would report a compilation error. |
C. | Floats cannot be compared using if. |
D. | should be used to compare |
E. | Conditional operates should be used to compare floats. |
Answer» B. The statement if (x = y) would report a compilation error. | |