LuckyIce1 LuckyIce1
  • 11-07-2018
  • Computers and Technology
contestada

If you know the maximum index of a string, what can you say about the maximum length of the string?

Respuesta :

tonb
tonb tonb
  • 11-07-2018
The length will be one more. If you have e.g., a string of length 3, the indices will be 0,1 and 2, with 2 being the maximum one. So the (maximum) length is always one more than the maximum index.
Answer Link

Otras preguntas

The slope of a line is 1, and the y-intercept is -1. What is the equation of the line written in slope-intercept form?
I need help plz and thank you 2 “Now, Valentine,” said the warden, “you’ll go out in the morning. Brace up, and make a man of yourself. You’re not a bad fellow
Help me what is the thing above n help TuT
Do you think the Ten Commandments changed how the Hebrews lived their daily lives? Is yes, how did it change? If no, why not?
Need help thanks!!!!!!
Is world end in dec 21 in 2020¿¿¿​
Charlene has 2 flash drives of the same size that she uses to store pictures and videos. Each drive is holding the same number of GB of data, d. She wants to mo
How would scientists best be able to determine if the giant panda and the red panda should be placed in the same classification system?
What group formed in Boston in 1765 to protest British taxes and laws?
Divide (x^5 - x^4 + x^3 - x^2 + x -1) by (x-1)Please solve this and show your calculation.If you don't know please don't answer.​