Question: Code3.0 1. #include 2. void exit 1() { std::cerr > i; if (i == 1) { std::atexit(exit_1); std::atexit (exit 2); std::exit(1); 16. return i; 18.)

 Code3.0 1. #include 2. void exit 1() { std::cerr > i;

Code3.0 1. #include 2. void exit 1() { std::cerr > i; if (i == 1) { std::atexit(exit_1); std::atexit (exit 2); std::exit(1); 16. return i; 18.) 17. Soulce was Answer Questions 6 using Code 3.0 6. Line 15 will result in: a. Calls function exit_1 but not exit_2 b. Calls function exit_2 but not exit_1 c. Prints: In exit_2 In exit_1 d. All of the above e. None of the above Coursellero.com

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!