•Problem: Given the declaration
• float alpha[100],
• valid indexes for the array range from 0 – 99. What happens if you access alpha[105],
for example?
•Answer: C++ does not check for out-of-bounds indexes either at compile time or at run time. The memory location is destroyed. It is entirely the programmer’s responsibility to make sure that an array does not step off either end of the array.
•