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

Solve t plz help 3t<9
anybody know this one? kinda confused lol
Max: Psst. Guck mal. Das ist doch der Schauspieler,_____ letztes Mal auf der Bühne so schlecht geworden ist. Tarek: Nein, das war doch eine Frau. Das ist der Sc
Can someone please plzz give me the answe
Find the equation of the straight line that is parallel to 2y - x = 7 and bisects the line joining the points (3,1) and (1,-5).​
Using the linear combination method, what is the solution to the system of linear equations 7x-2y=-20 and 9x+4y=-6? O (-3,2) O (-2,3) O (2, -3) O (3,-2)
Helppp me how can I solve this ????
A function is 1 when its argument is zero. Its value is 1/5 its slope at any point. What is the function?
Which symbols could be used to make the following statement true?-22 ___ 3>≥≤=≠
Which of the following is the most cost-effective approach to waste management? A) pollution-prevention control B) chemical emissions control C) biological envi