MCQOPTIONS
Saved Bookmarks
| 1. |
double da = 4.5;double db = 4.6;double dc = 4.9;//explicitly defined by userint result = (int)da + (int)db + (int)dc; printf(""result = %d"", result);4.What will be output for the following code? |
| A. | x = 107, z = 108.00 |
| B. | x = 107, z = 108.0000 |
| C. | x = 107, z = 108.000000 |
| D. | x = 108, z = 108.000000 |
| Answer» D. x = 108, z = 108.000000 | |