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

after twenty years by o.Henry summary?
who searches for new talent, listens to demos, and make recommendations with respect to sales potential?​
If B = {−13, −9, −7, −3}, choose the set A that will make the following statement false. B ⊆ A a. A is the set of negative odd integers b.A is the set of intege
what are the compostion of solar system ​
PLEASE HELP The body temperatures of a group of healthy adults have a​ bell-shaped distribution with a mean of 98.07degreesF and a standard deviation of 0.43deg
Fill in the table using this function rule. y=4x+2 x = -2 y = -6 x = 0 y = 2 x = 2 y = 10 x = 4 y = ?
who goes to lamar county schools?
Gary owns a taco truck. He charges $3.49 for a nacho taco and $4.99 for a cool ranch taco. How much does Gary make if 15 nacho tacos and 35 cool ranch tacos wer
If a football player passes a football from 4 feet off the ground with an initial velocity of 36 ft./s, How long will it take the football to hit the ground? Us
If body fats has a density of 0.94 g/mL and 3.0 liters of fat are removed, how many pounds of fat were removed from the patient?