Which of the following function can be used to terminate the main() function from another function safely?
Posted: Wed Jul 13, 2022 7:54 pm
a) return(expr);
b) exit(expr);
c) abort();
d) both exit(expr); and abort();
b) exit(expr);
c) abort();
d) both exit(expr); and abort();