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

can y help me plz I will give brainliest :) How is the Seven Years War related to the French and Indian War? The French and Indian War directly caused the Seve
The second book of the Hebrew bible (after Genesis) which describes the Hebrew slaves escape from Egypt. Please help
answer this question fast
1. Below is a diagram of an atom. Which particles are found at "A"?
3 facts about World War 1.
What year did our Constitution begin to march through time?
Which zone would most likely be observed in the following situation? A kindergarten teacher helps a student who scraped her knee at recess. Intimate zone person
Suppose that 32% of people have a dog, 28% of people have a cat, and 23% of people own both. What is the probability that someone owns a dog or a cat?
The conclusion is the last chance for the reader to agree with you. A. True B. False
6000 is deposited into a fund at the annual rate of 9.5%. Find the time required for the investment to double if the interest is compounded continuously