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

2. Write the Lewis structure for N2F2. Draw two isomers and determine whether they are polar or non-polar.
Which of the following ratios are needed to determine the mass of oxygen produced from the decomposition of 10 grams of potassium chlorate? Select all that appl
Why is language so important to write poetry
by the end of the decade, two new states had formed on the peninsula. In the ____, the anti-communist dictator _______ (1875-1965) enjoyed the reluctant support
please help and show work​
pls help me pls pls pls pls I will littearly mark brainlinest pls ​
help me with math please :)
I need help with this please​
Pablo needs to read 5 novels each month. Let N be the number of novels Pablo needs to read in M months. Write an equation relating N to M. Then use this equatio
Heather is going shopping. She has no more than $35.00 to spend. She wants to buy a pair of shoes for $14.95 and some scarves for $6.25 each. Which inequality c