MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the program? #include<stdio.h> int main() { int x = 3; float y = 3.0; if(x == y) printf("x and y are equal"); else printf("x and y are not equal"); return 0; } |
| A. | x and y are equal |
| B. | x and y are not equal |
| C. | Unpredictable |
| D. | No output |
| Answer» B. x and y are not equal | |