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

pls tell this answers ​
Graph the image of this figure after a dilation with a scale factor of 1/2 centered at the point (−3, 0). Use the polygon tool to graph the dilated figure. (See
2.) The quotient of 3 and y
1. The dove made its nest in the bushes. (a.) declarative b. imperative c. interrogative d. exclamatory
1. do you think erythropoietin levels in athletes at low altitude are lower, higher, or the same after training at a high altitude for 2 months? 2. calculate th
When introducing new evidence in your writing, you can use the mnemonic device ICE. ICE stands for: involve, create, and explain introduce, cite, and explain in
A man walks 30 m to the west, then 5 m to the east in 45 seconds. a. What is his displacement? b. What was his total distance walked? c. What is his average v
Describe the end behavior for the graph of y=-x³- ax + 3, if a is a constant.
Consider the systems of equations below. determine the number of real solutions for each system of equations. system a has real solutions. system b has real sol
3. There is a new movie playing at the theater. Are you interested / interesting? 4. My little brother makes too much noise. He is annoyed / annoying. 5. I like