573 views
1 votes
1 votes

extern int num = 10;  // is it valid ??

Please log in or register to answer this question.

Related questions

0 votes
0 votes
1 answer
1
Na462 asked Nov 19, 2018
1,441 views
2 votes
2 votes
2 answers
2
targate2018 asked Jan 15, 2018
1,407 views
extern int i; int i = 10; i = 5; int main() { printf("%d", i); return 0; }The output for the above code is _______
2 votes
2 votes
1 answer
3
rahul sharma 5 asked Nov 23, 2017
1,032 views
#include <stdio.h int main() { int a=10; extern int a; return 0;} Why this gives compilation error? Extern is just a declaration.So why it is giving error on c...