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 MEANT BY LIFE?

2 Answers  


Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?

0 Answers  


Tell me can the size of an array be declared at runtime?

0 Answers  


without a terminator how can we print a message in a printf () function.

7 Answers   NIIT,


How can you read a directory in a C program?

0 Answers  






#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }

0 Answers   Wilco,


find second largest element in array w/o using sorting techniques? use onle one for loop.

15 Answers   BitWise, Zycus Infotech,


What are lookup tables in c?

0 Answers  


15.what is the disadvantage of using macros? 16.what is the self-referential structure? 17.can a union be self-referenced? 18.What is a pointer? 19.What is the Lvalue and Rvalue? 20.what is the difference between these initializations? 21.Char a[]=”string”; 22.Char *p=”literal”; 23.Does *p++ increment p, or what it points to?

1 Answers  


A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference

0 Answers  


2. Write a function called hms_to_secs() that takes three int values—for hours, minutes, and seconds—as arguments, and returns the equivalent time in seconds.. Create a program that exercises this function by repeatedly obtaining a time value in hours, minutes, and seconds from the user (format 12:59:59), calling the function, and displaying the value of seconds it returns.

5 Answers   TCS,


how to sort two array of characters and make a new array of characters.

1 Answers   Accenture,


Categories