Mail Archives: djgpp/1996/07/16/09:35:19
A while ago, there was a conversation about 'void main()' vs. 'int main()'
and I wondered if:
void main()
{
exit(1);
}
Is the same as
int main()
{
return(1);
}
Thanks -
-*-*-*-*-*-*-*-*-*- *-*-*-*-*-*-*-*-*
* Nissim Chudnoff *-*-*-*-*-*-*-*-*-*-*-*-*-*- Klass of '99! *
* <nchudnof AT mbhs DOT edu> || <http://mmm.mbhs.edu/~nchudnof *
* -------------------------'`------------------------------- *
* "One Dilbert Is One Dilbert Too Many" -Nissim *
* ---------------------------------------------------------- *
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
- Raw text -