Vidyalelo
C Programming · Q117

File Input Output

Programming · C Programming · question 117

Q117

Which of the following function can be used to terminate the main function from another function safely?

A.
return(expr);
B.
exit(expr);
Answer
C.
abort();
D.
both exit(expr); and abort();

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board