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. abort();
    2. return(expr);
    3. exit(expr);
    4. both abort(); and exit(expr);
    5. None of these
Correct Option: C

exit(expr);



Your comments will be displayed only after manual approval.