1.

What will be the output of the following C code?
#include <stdio.h>
static int num;
void main()
{
int num;
printf("num is %d", num);
}

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


Discussion

No Comment Found

Related MCQs