News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

why C exit() function works without stdlib.h

Started by nonlinearly, October 24, 2011, 08:21:40 PM

Previous topic - Next topic

nonlinearly

Hi
I use exit() function without include the stdlib.h header that exit() belongs and the Code::Blocks compile it without any error.Why?
Thanks

oBFusCATed

Man please read the rules of the forum!
Then read this: http://wiki.codeblocks.org/index.php?title=FAQ-General
Then read the manual for you compiler or standard library.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]