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
How do you search data in a data file using random access method?
Explain how can you tell whether a program was compiled using c versus c++?
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above
can any one tel me wt is the question pattern for NIC exam
Apart from dennis ritchie who the other person who contributed in design of c language.
to find the closest pair
Why void main is used in c?
Explain what are reserved words?
Why is main function so important?
What do you mean by a local block?
How can I pad a string to a known length?
What is the difference between pure virtual function and virtual function?
#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
What is static and volatile in c?