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

why do the following crash

Subject: why do the following crash
From: ""
Date: Mon, 31 Mar 2008 06:32:32 -0700 PDT
Newsgroups: comp.lang.c

File1.c

  int arr[80];

File2.c

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

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