From: leger_v AT bluewin DOT ch Newsgroups: comp.os.msdos.djgpp Subject: Re: Problem with malloc() and integers Date: Sun, 26 Apr 1998 15:28:09 +0200 Organization: Swisscom AG, the blue window Lines: 15 Message-ID: <35433669.5A75@bluewin.ch> References: NNTP-Posting-Host: sio22pub90.bluewin.ch Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Here's the source code of the whole program : void main(void) { int i,j; unsigned long *test[10]; for(i=0;i<10;i++) test[i]=(unsigned long *)malloc(64000); for(i=0;i<10;i++) for(j=0;j<64000;j++) test[i][j]=10; } And this program crashes on my computer. Thanx