1.

What will be the output of the following C code?
#include <stdio.h>
int main()
{
int n1 = 2, n2 = 2, n3;
n3 = n1++ + n2;
printf("%d, %d", n1, n2);
}

A. 2
B. 3, 2
C. 2, 3
D. Compilation Error
E. None of these
Answer» C. 2, 3


Discussion

No Comment Found

Related MCQs