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
What is pointer to pointer in c with example?
Where static variables are stored in c?
How do I send escape sequences to control a terminal or other device?
Is null equal to 0 in sql?
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
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
What is #line?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
What are valid operations on pointers?
What are local static variables?
What is use of bit field?
How a string is stored in c?
What does a pointer variable always consist of?
Explain what is wrong with this program statement? Void = 10;
What is the purpose of 'register' keyword?