I wrote this stupid program that prints "01234" but I have deliberately made three errors. Can you spot them? Please also explain why it's an error.
int size = 5;
for (int i = 0; "Banana"[i]; ++i)
i[arr] = i;
for (int j : arr)
std::cout << arr[j];