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 #define used for in c?

803


What are actual arguments?

845


How do you generate random numbers in C?

906


writ a program to compare using strcmp VIVA and viva with its output.

1769


What language is windows 1.0 written?

776


Explain what is the general form of a c program?

816


How to implement a packet in C

2611


How to set file pointer to beginning c?

904


What is a void * in c?

829


Compare interpreters and compilers.

817


Can you write the function prototype, definition and mention the other requirements.

881


What is oops c?

853


What does dm mean sexually?

1040


why wipro wase

2047


By using C language input a date into it and if it is right?

801