Null Pointer Assignment
Bill Cavanaugh
bleys at tronsbox.xei.com
Fri Oct 12 16:01:11 AEST 1990
>not come up until the end of the program. In fact, I put in the line
>
>printf("done\n");
>exit(0);
>
>at the end of my main, and when executed, it says
>
>done
>Null Pointer Assignment
>
>Does this make sense? Thanks for any suggestions.
>
>-Dan Schikore
>schikore at mentor.cc.purdue.edu
I'm not sure about the message, so I won't comment on that, but the reason
the message is coming up after the printf() is that the printf() sends it's
output to stdout, and the message is going to stderr....
/****************************************************************
* All of the above copyright by the below. *
* Bill Cavanaugh uunet!tronsbox!bleys *
* "Freedom of the press does not mean you get *
* a press given to you for free." *
****************************************************************/
More information about the Comp.lang.c
mailing list