Question: When you use a subscript value that is negative or higher than the number of elements in an array, __________. a. Execution of the program

When you use a subscript value that is negative or higher than the number of elements in an array, __________.

a. Execution of the program stops and an error message is issued

b. A value in a memory location that is outside the area occupied by the array will be accessed

c. A value in a memory location that is outside the area occupied by the array will be accessed, but only if the value is the correct data type

d. The resulting action depends on the programming language used

Step by Step Solution

3.37 Rating (163 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

d The result... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Logic & Design Questions!