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

accurately describe the roles of the popes and patrons of the arts in restoring the city of Rome?
order 1/6, 2,5, 3/5, and 3/7 from least to greatest
what is the simplest form of 3/30
In the event of the president’s death or resignation, who would be next in line to become president? A. the vice president B. the secretary of state C. the secr
how many colonies were founded in the 1620's?
The quantity of a product that will be produced and sold at a specific price is the __________. demand supply quantity demanded quantity supplied
explain how you can use a number line to show that 3/6 and 1/2 are eguivalent fractions
what plus what equals 180
King_Question In which part of Europe would many people likely work in fishing? France and Switzerland, which border on the Alps Russia, which has a large stepp
What is the best estimate for the length of a bike