MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the program? #include<stdio.h> int main() { int x = 10, y = 20; if(!(!x) && x) printf("x = %d n", x); else printf("y = %d n", y); return 0; } |
| A. | y =20 |
| B. | x = 0 |
| C. | x = 10 |
| D. | x = 1 |
| Answer» D. x = 1 | |