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

What is the best analysis of this passage?
Characteristics of entertaining media messages according to Bosshart and Marconi include psychological relaxation, stimulation, fun, challenges, dialogue, and j
How do you feel about the fact that you are going to get old someday? How do you think you will cope with it? What do you think will be the worst part about g
simplify the expressions √(x^2-6x+9) if x>3
What is the answer to this question?
Which part of cellular respiration involves using acetyl CoA to produce energy carriers? A. Glycolysis B. Pyruvate processing C. The electron transport chain O
Considering civil disobedience, which best describes one similarity between Thoreau and Martin Luther king jr
7- write the equation of the line that passes through points A(6,1) and B(9,4) I
I WILL MARK BRAINLIEST!!!! Kristin is swimming in the ocean and notices a coral reef below her. The angle of depression is 35 degrees. And the depth of the oce
Chef Antonio works at a Latin restaurant and doing a great job. During his yearly evaluation, the owner increased his salary from $42,500 to $46,000. What is th