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

List and explain President Roosevelt programs implemented during the great depression. Which programs are still around today?
$245 is 25% of what number? ​
What is 38/57 as a fraction
Refer to the illustration above. The structure labeled D is a(n)
What was the marshal plan
Read this sentence from paragraph 1. The Constitution does not specify when or how the president should deliver the address. Based on Jackson’s article, wha
In Exercise, expand the logarithmic expression. ln x3(x + 1)
22.5 mL of an HNO3 solution were titrated with 31.27 mL of a .167 M NaOH solution to reach the equivalence point. What is the molarity of the HNO3 solution
what is worcester vs georgia
Last year, Deborah sewed 5 new blankets for her nieces and nephews. This year, she will sew 40% more blankets. How many blankets will Deborah sew in total this