• retagged by
2,359 views
1 1 vote
The library function exit ( ) causes as exit from

 

(a) the loop in which it occurs

(b) the block is which it occurs

(c) the functions in which it occurs

(d) the progam in which it occurs

3 Answers

0 0 votes

The exit() function in C is a standard library function used to terminate the execution of a program immediately.

exit(0)—Indicates successful program termination.

exit (a non-zero value, commonly 1): Indicates unsuccessful program termination.

Answer : $D$

• reshown by
Position:
Show:

Related questions

0 0 votes
1 1 answer
750
750 views
sh!va asked Mar 2, 2017
750 views
A program having features such as data abstraction, encapsulation and data hiding, polymorphism inheritance is called(a) Structured program(b) Object oriented program(c) ...
1 1 vote
1 1 answer
2.4k
2.4k views
sh!va asked Mar 2, 2017
2,356 views
The "go to statement" causes control to go to(a) An operator(b) A label(c) A variable(d) A function
1 1 vote
1 1 answer
1.8k
1.8k views
sh!va asked Mar 2, 2017
1,805 views
The matrix is its own adjoint. The value of x will be(a) 5 (b) 3 (c) -3 (d) -5
0 0 votes
1 answers 1 answer
1.4k
1.4k views
sh!va asked Mar 2, 2017
1,380 views
A husband and wife appear in an interview for two vacancies for same post The. probability of husband getting selected is 1 /5 while the probability of wife getting sele...