Re: why do the following crash



parag_paul wrote:

File1.c

int arr[80];

File2.c

extern int *arr;
int main()
{
arr[1] = 100;
return 0;
}

cf. http://c-faq.com/aryptr/aryptr1.html
.