

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the following code snippet? Y = 5; if (! Y > 10) X = Y + 3; else X = Y + 10; printf( X = %d Y = %d , X, Y); |
A. | The program will print X = 15 Y = 5 |
B. | The program will print X = 15 Y = 0 |
C. | The program will print X = 8 Y = 5 |
D. | The program will print X = 3 Y = 0 |
Answer» B. The program will print X = 15 Y = 0 | |