malloc & tc.
Robert Seals
rds95 at leah.Albany.Edu
Sat May 13 00:56:37 AEST 1989
ssreefc at 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
More information about the Comp.lang.c
mailing list