What is the problem with this code?

```
int .array[5];
>>Delete the dot
for (int index = 1; index <=5; index++)
array[index] = index /2;
```

The array element array[5] does not exist, yet we are assigning a value to it.

Computer Science & Information Technology

You might also like to view...

Select a row or column and then press Delete on the keyboard to delete the entire row or column, including its contents

Indicate whether the statement is true or false

Computer Science & Information Technology

Word's ________ Properties can be used to check document statistics, such as the date the document was created, the total editing time, or the number of words in a document

Fill in the blank(s) with correct word

Computer Science & Information Technology