Question: What will be output of the following c program?#include<stdio.h>
static num=5;
extern int num;
int main(){
printf("%d",num);
return 0;
}
int num =25;
A
B
C
D
E
0
B
5
C
25
D
Compilation error
E
None of these
Note: Two or more global variables can have same name but we can initialize only one of them.