1.

Which of the following statement are correct about the program given below?
#include <stdio.h>
int main ( )
{
int x = 10, y = 20;
if (x == 15) && if (y == 20)
printf ("Have a nice day n");
return 0;
}

A. Output: Have a nice day
B. No output
C. Error: 'Expression syntax'
D. Error: 'Undeclared identifier if'
Answer» D. Error: 'Undeclared identifier if'


Discussion

No Comment Found

Related MCQs