"kamal_jeet_kaur" <[EMAIL PROTECTED]> wrote:
>
> Can any integer be mentioned in exit() function

No. Only integers in the range of signed int.

> then why do we specify 0(zero only?

You must be using the royal 'we'. ;-)
I use exit(EXIT_FAILURE) quite often.

Only 0, EXIT_SUCCESS and EXIT_FAILURE are maximally
portable. It's rare (but definitely not unheard of)
to make things any more complex than that.

-- 
Peter

Reply via email to