1.

Which of the following is the correct output for the program given below?
#include <stdio.h>
int main ( )
{
int x = 600, y = 200, z;
if (!x >= 400)
y = 300;
z = 450;
printf ("y = %d z = %d n", y, z);
return 0;
}

A. y = 300 z = 200
B. y = 200 z = garbage
C. y = 300 z = garbage
D. y = 200 z = 450
E. y = 200 z = 600
Answer» E. y = 200 z = 600


Discussion

No Comment Found

Related MCQs