what does exit() do?

Answers were Sorted based on User's Feedback



what does exit() do?..

Answer / 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

what does exit() do?..

Answer / guest

come out of executing programme.

Is This Answer Correct ?    3 Yes 1 No

what does exit() do?..

Answer / ramesh

it comes out of execution normally.

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More C Interview Questions

What is character set?

0 Answers  


Is c language still used?

0 Answers  


Describe wild pointers in c?

0 Answers  


What is that continue statement??

4 Answers  


what is computer

4 Answers  






how to exchnage bits in a byte b7<-->b0 b6<-->b1 b5<-->b2 b4<-->b3 please mail me the code if any one know to rajeshmb4u@gmail.com

3 Answers   Honeywell, Huawei,


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.

0 Answers   Convergys,


What are multidimensional arrays?

0 Answers  


Find Error if any in below code, Justify ur answer: struct xx { int a; struct yy { char c; struct xx* p; } struct yy* q; }

3 Answers   NDS,


Write a program for finding factorial of a number.

0 Answers   Tech Mahindra,


Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1

0 Answers  


#include <stdio.h> int main() { int i; for (i=0;i<3;++i) { fork();fork(); } } How many processes are created when running this program (including the initial one)? Explain &#1567;&#1567;&#1567;

4 Answers  


Categories