An Array "arr" declared to have 10 elements is best characterized by which of the following:
If you need room for an 11th element then just write it to arr[10] and the dynamic heap will make room for it and extend the array size
2%
5
There is no way to write something to arr at slot 10, but the compiler wont object... it must be detected at runtime... when the code "steps off the end of the array"
There is no way to write something to arr at slot 10, but the compiler wont object... it must be detected at runtime... when the code "steps off the end of the array"
81%
162
There is no way to write something to arr at slot (subscript) 10... the compiler will object