Solved

What Happens If You Attempt to Access a String Using

Question 49

Multiple Choice

What happens if you attempt to access a string using an index equal to the string's length?


A) The entirety of the string will be accessed.
B) The name of the string will be accessed.
C) The string's location in memory will be returned.
D) An error will occur, indicating the index is out of range.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions