Checkpoint 7.6.1.
Click on each spot that would cause a runtime error.
Remember, an index that is negative or greater than the length of the string - 1 will give a run-time error.
int main() { string fruit = "apple"; char letter = fruit[0]; char letter = fruit[9]; cout << fruit << endl; cout << fruit[-4] << endl; cout << fruit[4] << endl; }