#include using namespace std; int main() { int a = 111, b = 222, c = 333, d = 444, e = 555, f = 666; int R[4]; int z = 11, y = 22, x = 33, w = 44, v = 55, u = 66, t = 77; int start, stop; /* this represents a really big computation that went wrong */ start = -5; stop = 5; for (int i = start; i <= stop ; i += 1) R[i] = 3 + i * i; /* coming next: making this array access safe */ /* pretend to use the array here */ cout << "a = " << a << "\n"; cout << "b = " << b << "\n"; cout << "c = " << c << "\n"; cout << "d = " << d << "\n"; cout << "e = " << e << "\n"; cout << "f = " << f << "\n"; cout << "z = " << z << "\n"; cout << "y = " << y << "\n"; cout << "x = " << x << "\n"; cout << "w = " << w << "\n"; cout << "v = " << v << "\n"; cout << "u = " << u << "\n"; cout << "t = " << t << "\n"; }