1.

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

A. n1 is 100
B. Compilation Error
C. Runtime Error
D. Garbage value
E. None of these
Answer» B. Compilation Error


Discussion

No Comment Found

Related MCQs