comp.lang.c
[Top] [All Lists]

Re: why do the following crash

Subject: Re: why do the following crash
From: Richard
Date: Mon, 31 Mar 2008 15:56:37 +0200
Newsgroups: comp.lang.c


Philip Potter <pgp@xxxxxxxxxxxx> writes:

> parag_paul@xxxxxxxxxxx wrote:
>> File1.c
>>
>>   int arr[80];
>>
>> File2.c
>>
>>   extern int *arr;
>>   int main()
>>   {
>>       arr[1] = 100;
>>       return 0;
>>   }
>
> Did you read the FAQ? You have just asked question 6.1, and if you go
> to http://c-faq.com/ you will get your answer.
>
> Philip

Will you be replying to every question here with a pointer to the FAQ?

If so possibly you would like to just automate your replies?

Hint : not every programmer that comes here can memorise the entire FAQ
nor can they always find the necessary section of the FAQ.



<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy