1.

What will be the output of the following C code?
#include <stdio.h>
int main()
{
const int n;
n = 12;
printf("n is %d", n);
return 0;
}

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


Discussion

No Comment Found

Related MCQs