What is meant by the term “going out of bounds” on an array? Does C++ automatically check and stop you (the programmer) from going out of bounds with your array? Explain.
What will be an ideal response?
Going out of bounds in an array means that you are accessing array elements beyond what is legally declared. For example, if I declare an array of ten integers, int n[10]; and then tried to access n[10], this is going out of bounds with the array. C++ does not check, nor stop you from doing this.
You might also like to view...
In ____ typefaces there is a delicate, horizontal line that finishes off the main strokes of each character.
A. serif B. sans-serif C. mono D. sans-mono
Standards are specific instructions on how to handle a specific issue
Indicate whether the statement is true or false.
The Table Sort feature is located on the following tab:
A. Table Tools Layout B. Insert C. Table Tools Design D. Table Edit
Dreamweaver’s ___________________ view shows the underlying HTML code for the page, but not how it will look on a browser.
a. Code and Design b. Code c. Debugging d. Design