"exit 0;" - or - "exit (0);" ?

ark at alice.UUCP ark at alice.UUCP
Tue Nov 18 07:35:32 AEST 1986



Open reply to Moshe Braner:

	exit 0;

is illegal -- exit is a function just like any other.  I am sure
you are mistaken when you say you've seen it may times.  In fact,
I strongly suspect you are confusing it with

	return 0;

which is legal C.



More information about the Comp.lang.c mailing list