1.

Which of the following is the correct output for the program given below?
#include <stdio.h>
int main ()
{
int a = 400, b, c;
if ( a >= 500)
b = 400;
c = 300;
printf ( "%d %d %d n" , a, b, c);
return 0;
}

A. 400 400 300
B. Garbage 400 300
C. 400 Garbage 300
D. 400 400 Garbage`
Answer» D. 400 400 Garbage`


Discussion

No Comment Found

Related MCQs