Chapter 2: Problem 13
Give an example of a C++ code fragment that performs an array reference that is possibly out of bounds, and if it is out of bounds, the program catches that exception and prints an appropriate error message.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.