what does exit() do?

Answer Posted / shruti

nopes,
it does not come out of the executing prog normally..
for that, we have to explicitly mention as
exit(0);

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is return a keyword in c?

598


What are the benefits of organizational structure?

574


Explain is it better to bitshift a value than to multiply by 2?

718


Explain main function in c?

630


hi any body pls give me company name interview conduct "c" language only

1669






How do you override a defined macro?

702


Where are some collections of useful code fragments and examples?

716


What is the argument of a function in c?

575


Which is better pointer or array?

599


What are the advantages of c language?

666


What are the advantages of c preprocessor?

713


What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }

1959


Can a void pointer point to a function?

573


Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.

2652


What is the difference between single charater constant and string constant?

625