MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the program? #include<stdio.h> #define MIN(x, y) (x<y)? x : y; int main() { int x=3, y=4, z; z = MIN(x+y/2, y-1); if(z > 0) printf("%d n", z); return 0; } |
| A. | 3 |
| B. | 4 |
| C. | 0 |
| D. | No output |
| Answer» B. 4 | |