Loop iterator naming convention

Viewed 7707

We know that, somehow, we use i and j variables in loops very commonly. If one need a double for loop, it's very likely to use something like the following:

for (int i = 0; i < n; i++)
{
    for (int j = 0; j < m; j++)
    {
        // do some stuff...
    }
}

However, if I need a third for loop in these loops, I don't have any naming convention for the third iterator. I, likely use the following variables: r, k, ii, jj etc...

Is there a naming convention for the third (and so on...) loop's iterator?

4 Answers
Related