Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

How do you search data in a data file using random access method?

1292


Explain how can you tell whether a program was compiled using c versus c++?

1087


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

1073


can any one tel me wt is the question pattern for NIC exam

1959


Apart from dennis ritchie who the other person who contributed in design of c language.

1380


to find the closest pair

2315


Why void main is used in c?

1042


Explain what are reserved words?

1091


Why is main function so important?

1087


What do you mean by a local block?

1072


How can I pad a string to a known length?

1013


What is the difference between pure virtual function and virtual function?

1106


#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); }

1137


How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?

1016


What is static and volatile in c?

1213