Home » C Programming » Error Handling » Question
  1. Which of the following function can be used to terminate the main function from another function safely?
    1. exit(expr);
    2. abort();
    3. both exit(expr); and abort();
    4. return(expr);
    5. None of these
Correct Option: A

exit(expr);



Your comments will be displayed only after manual approval.