1.

Which of the following is the correct output for the program given below ?
#include <stdio.h>
int main ( )
{
int a = 12, b = 7, c;
c = a != 4 || b == 2;
printf ("c = %d n" , c);
return 0;
}

A. c = 0
B. c = 1
C. c = 4
D. c = 2
Answer» C. c = 4


Discussion

No Comment Found

Related MCQs