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

How was the neolithic period different from the paleolithic period
Read these lines from the poem and answer the following question. The trivialest point, or you may lose your labor And yet there is in this no Gordian knot Whic
Identify the terms, like terms, coefficients, and constants. 4y + 5 + 3y Thanks.
You are a scout in the 1830s who makes a living by guiding settlers to Oregon. Write a two-paragraph "advertisement" telling people why they should move to Oreg
Under which set of circumstances will the pressure of a gas DEFINITELY increase?
which is the numbers 7/8, 0.825, and 0.78 in order from least to greatest?
Find f(4) based on the table below. y: 3, 4, 5, 6 f(y): 5, 6, 4, 3 A. 3 B. 4 C. 5 D. 6
In 1993 which two governments signed the Oslo accords
NEED HELP!! In what containers do spores grow? WHO EVER GETS THE BEST ANSWER GETS 5 STARS ANS A THANK YOU On THERE ANSWER.
Which answer corrects the error in capitalization? Today's Washington Post contains a photograph of representative Chang.