1.

What will be the output of the following C code?
#include <stdio.h>
int main()
{
int n = 1;
if (n--)
printf("Right...");
if (n++)
printf("Wrong...");
}

A. Compilation Error
B. Runtime Error
C. Right...
D. Wrong...
E. None of these
Answer» D. Wrong...


Discussion

No Comment Found

Related MCQs