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

can someone help me on this? I got confused
Andrea buys 1/3 kg of rice. this amount is 1/5 the amount of rice she has at home at home . how many kilograms of rice does Andrea have a home?
Can i take a home drug test to see if i was roofied
Which field of anthropology studies how a society establishes a system of government and economics?
What is the name of a roof that covers the outside of a house front door?
1/RT =1/R1 +1/R2 solve for RT
What do professional photographers who own their own business have to do to be successful?
Your teacher has to decide who will share hotel rooms during your class trip to Mexico. What could you say about your morning routine so that your teacher can c
Please help me with this! I would really appreciate it.
Can somebody with a pacemaker work in a food processing plant next to a metal detector