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 structure in c explain with example?
What is the translation phases used in c language?
exit () is used to a) exit () terminates the execution of the program itself b) exit () terminates the execution of the loop c) exit () terminates the execution of the block d) none of the above
What is a far pointer in c?
which is an algorithm for sorting in a growing Lexicographic order
What happens if header file is included twice?
How can I find out if there are characters available for reading?
What is c++ used for today?
What is variable and explain rules to declare variable in c?
Hai what is the different types of versions and their differences
what value is returned to operating system after program execution?
which type of aspect you want from the student.
What does volatile do?
Explain what is wrong in this statement?
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