Multiple choice

Which of the following library functions is used in C++ to break out of the program, abandoning the rest of the execution of the program?

  1. break

  2. exit()

  3. go to

  4. none of these

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

This function is used in C++ to break out of the program abondoning the rest of the execution of the program.