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

Let's assume for a moment that your house uses an average of 16kWh of electrical energy per day. If you could covert  the mass of a 46g golf ball into electrica
Damarcus says 24/6 only belongs to the set of rational numbers explain his error
All the life processes together are its?
Help please question is in picture xx
the moon is about 240,000 miles from earth what distance written as whole number multiplied by power of ten?
what is the distributive property of  85 divided dy 5
What does palatical chateau mean?
How do fungi benefit from being able to reproduce both asexually and sexually?
Can you fall in love with blue eyes and not fall in love with the person who has it?
A painter can finish painting a house in 8 hours. Her assistant takes 10 hours to finish the same job. How long would it take them to complete the job if they