I have a question:
for (int i = text.length()-1; i>=0; i--)
{
//some code
}
What does -1 mean?
I know what these--> i>=0; i-- mean but I do not understand what -1 means?
Thanks
for (int i = text.length()-1; i>=0; i--)
{
//some code
}
What does -1 mean?
I know what these--> i>=0; i-- mean but I do not understand what -1 means?
Thanks
Comment