what is the return value (status code) of exit() function....
what the arguments(integer value) passed to it means....

Answer Posted / arindam majumder

0 if successful and a non-zero value if unsuccessful.
The argument signifies whether the program have
executed successfully or not.
If 0,then it is successful.And a non-zero value indicates
an error.Several type of errors may occur.So a non-zero
value is supplied.Not 1 or 2 or...some specific value.

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pointer to pointer in c with example?

556


Where static variables are stored in c?

593


How do I send escape sequences to control a terminal or other device?

618


Is null equal to 0 in sql?

657


any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above

663






write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays

1788


What is #line?

615


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

2010


What are valid operations on pointers?

674


What are local static variables?

623


What is use of bit field?

776


How a string is stored in c?

592


What does a pointer variable always consist of?

667


Explain what is wrong with this program statement? Void = 10;

768


What is the purpose of 'register' keyword?

694