In C++, "Out-of-range-index" belong to ________ type exception while keyboard interrupts are called ________ exceptions.
Show answerHide answer
Correct answer: (B) Synchronous; asynchronous
Explanation
Errors such as out-of-range index come from the program's own execution, so they are synchronous. Events beyond the program's control, such as keyboard interrupts, are asynchronous.