MCQOPTIONS
Saved Bookmarks
| 1. |
Which of the following is the correct output for the program given below ?#include <stdio.h>int main ( ){ int x = 10, y = 20, z; z = (x == 10 || y > 20); printf ( "z = %d n", z); return 0;} |
| A. | z = 100 |
| B. | z = 200 |
| C. | z = 1 |
| D. | z = 0 |
| E. | z = 300 |
| Answer» D. z = 0 | |