Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!tronsbox!bleys From: bleys@tronsbox.xei.com (Bill Cavanaugh) Newsgroups: comp.lang.c Subject: Null Pointer Assignment Message-ID: <27154927-274.1comp.lang.c-1@tronsbox.xei.com> Date: 12 Oct 90 06:01:11 GMT References: <15004@mentor.cc.purdue.edu> Lines: 24 >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@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." * ****************************************************************/