String[ ] words = {"cat", "dog", "lamb", "giraffe", "elephant"}; int i = 0, index = -1, temp; while (i index) { index = temp; } i ; } What is the value of index after this code executes? -1
0
1
5
occurs

Solved
Show answers

Ask an AI advisor a question