Path: utzoo!attcan!uunet!lll-winken!ames!ncar!boulder!sunybcs!bingvaxu!leah!rds95 From: rds95@leah.Albany.Edu (Robert Seals) Newsgroups: comp.lang.c Subject: Re: malloc & tc. Summary: wrong again Keywords: malloc, turboc Message-ID: <1842@leah.Albany.Edu> Date: 12 May 89 14:56:37 GMT References: <8283@techunix.BITNET> Organization: The University at Albany, Computer Services Center Lines: 11 ssreefc@techunix.BITNET (florin coter) writes: > if( ( *p=malloc( (unsigned)30000 ) ) == NULL ) Oops. I think you want "p=malloc...", not "*p=malloc...". If you actually tried to compile this with any warnings on, you'd likely get a message that p is being used uninitialized. You'd also get an error because "puuts" is not in the library. Have you ever used C before? rob