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 identifier in c?

556


How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?

598


What are the two types of functions in c?

577


what is a NULL Pointer? Whether it is same as an uninitialized pointer?

769


What is size of union in c?

586






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

772


What oops means?

590


Differentiate between functions getch() and getche().

629


What is the difference between struct and typedef struct in c?

665


I need a sort of an approximate strcmp routine?

665


How can type-insensitive macros be created?

711


What are the general description for loop statement and available loop types in c?

691


Is array a primitive data type in c?

586


write a program to create a sparse matrix using dynamic memory allocation.

4377


Find duplicates in a file containing 6 digit number (like uid) in O (n) time.

2618