1.

What will be the output of the following C code?
#include <stdio.h>
int main()
{
int p = 3, q = 2;
int R = (q++) ? q == 1 && p : 1;
printf("%d n", R);
return 0;
}

A. 0
B. 1
C. 2
D. 3
E. None of these
Answer» B. 1


Discussion

No Comment Found

Related MCQs