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

Question:Which of the following function can be used to terminate the main() function from another function safely?

1.return(expr);

2.exit(expr);

3.abort();

4. both exit(expr); and abort();


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!