1,061 views

1 Answer

0 votes
0 votes

I think same variable name is used for simple variable declaration as well as special storage class declaration in the same class. Due to conflict it is giving an error.

This error is showing on my gcc compiler. This is the reason behind it.

edited by

Related questions

0 votes
0 votes
1 answer
2
Na462 asked Nov 19, 2018
1,508 views
1 votes
1 votes
0 answers
3
2 votes
2 votes
2 answers
4
targate2018 asked Jan 15, 2018
1,454 views
extern int i; int i = 10; i = 5; int main() { printf("%d", i); return 0; }The output for the above code is _______