|
|
|
Re: Global Definition Vs Global Declaration | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Hi, Unless my knowledge of C is wrong here, both 'int i' and 'extern int i' are indistinguishable declarations (not definitions). An explicit initialization would be needed to make the second a definition: int i = 0. Isn't this the case here? Alexander