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 length of Marshall's poster is 2 times its width. If the perimeter is 72 inches, what is the area of the poster?
Convert 35kg to its equivalent in g using dimensional analysis
What is this answer?10y=360°
What is the meaning of open proportion?
Tim solved a system of linear equations. He found that an infinite number of points satisfied the system. What do you know for certain is true about the two lin
What is an adjective phrase?
help me with this french hw plzz
What is the meaning of open proportion?
On a TI-84, how do you stop it from giving you simply a number for an answer when you put in a polynomial divided by another polynomial?
Estimate 46/6,725, then find the quotient.