MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the program? #include<stdio.h> int main() { int a = 300, b, c; if(a >= 400) b = 300; c = 200; printf("%d, %d, %d n", a, b, c); return 0; } |
| A. | 300, 300, 200 |
| B. | Garbage, 300, 200 |
| C. | 300, Garbage, 200 |
| D. | 300, 300, Garbage |
| Answer» D. 300, 300, Garbage | |