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 identifier in c?
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
What are the two types of functions in c?
what is a NULL Pointer? Whether it is same as an uninitialized pointer?
What is size of union in c?
struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer
What oops means?
Differentiate between functions getch() and getche().
What is the difference between struct and typedef struct in c?
I need a sort of an approximate strcmp routine?
How can type-insensitive macros be created?
What are the general description for loop statement and available loop types in c?
Is array a primitive data type in c?
write a program to create a sparse matrix using dynamic memory allocation.
Find duplicates in a file containing 6 digit number (like uid) in O (n) time.